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
2715
Cancel row selection
posted

Hi!

I need to cancel the selection of a new row, and set the selected to the previously selected one : e.g. row nr 1 is selected, and the user clicks on the third one -  I want to display a message and the selection to remain on the first one. Ho can I implement this - I've tried using the BeforeCellActivate event, and cenceling it, but it doesn't work.

Any ideas ?

Thanks!

Parents
No Data
Reply
  • 69832
    Offline posted

    The event is BeforeSelectChange. When rows are selected the e.Selected.Rows property will return the selection as it will be if the event is not canceled (the event is cancelable).

Children