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!
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).
Thanks Brian!
I still get a weird behaviour : If I don't set the CellClickAction to Select, the event doesn't trigger ?! If I do this, I loose a feature - editing cells content ...
Why doesn't the clicking of a cell automatically change the selected row/cell ?
Marius.