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
710
Validating row
posted

I have an ultragrid in edit mode.

I want that the grid validates changes of the active row when a user tries to move the mouse to another row (event without clicking). How could this be achieved?

Parents
No Data
Reply
  • 469350
    Offline posted

    There are a number of ways to do this.

    You could handle the BeforeRowUpdate event.You may also want to set the RowUpdateCancelAction property on the grid to determine what happens when you set e.Cancel to true in BeforeRowUpdate.

    Or you could use BeforeCellUpdate or BeforeCellDeactivate if you want more fine control of the validation of each cell.

Children