Home Forums WinForms controls Xceed Grid for WinForms Cell LeavingEdit vs Row EditEnded

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #17573 |

    I’m catching the LeavingEdit of one cell in the grid and depending on some conditions, the LeavingEdit might be canceled. The problem I have is that the Row EditEnded event is called even if I’m canceling the LeavingEdit of my cell.

    Is that normal ?

    If so, is there another event that will not be launched if I cancel the LeavingEdit of my cell but that will be launched if I modify anyone of the cells in my row ?

    Serge,

    Thanks

    Imported from legacy forums. Posted by Serge (had 1315 views)

    Xceed Support
    Member
    Post count: 5658

    Hi Serge,

    You can look at the Cell.ValidationError event where you can tell the cell to stay in edit mode rather than committing and not fire the other events. You can refer to the documentation on the events/methods that fire during specific set of actions can be found here:  http://doc.xceedsoft.com/products/XceedGrid/Validation_process.html

     

    Imported from legacy forums. Posted by Marc [Xceed] (had 1309 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.