Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
320
How can I trigger a event when user select row (Not a cell)
posted

I saw the wingrid has a status that the row is bounded by doted line (No cell is selected) and using up and down button, it will navigate the whole next row. How can I trigger this event???

Thank You!

Parents
  • 469350
    Offline posted

    Hi,

    I'm not really sure what you mean by "trigger this event". What event are you referring to?

    Do you mean you want the grid to enter a state where it has an active row (with a focus rectangle), but no selected row?

    Do you want to do this programmatically? Or do you want to enforce that this is always the case and not allow the user to enter edit mode in a cell?

  • 320
    posted in reply to Mike Saltzman

    Hi Mike,

    My stituation is that....

    Actually, my problem is that the dotted rectangle in a selected row or cell in the grid.  

    For me, I have already Overrides the SelectTypeCell and SelectTypeRow to None, but it's still happen.

    For row, when user click the line between two row, the dotted line rectangle appear and active cell become null (I have to handle this stituation for my business logic)

    For cell, this dotted rectangle appear when user press "Esc" (Anyway, I have override the keypress event), or scroll the records by  mouse wheel  (As attached)

    Can anyway to disable this selection ???

    Regards

    Andrew

Reply Children