Disable row change

Hi,

I am using GridDataControl and would like to prevent the user from changing to another row if there are unsaved changes in the row. I tried capturing the RowValidating event and setting the GridDataRowValidatingEventArgs.IsValid to false. While this inhibits the row change, visually a new row is selected. How do I disable row change on some condition?

1 Reply

KR Kannan R Syncfusion Team December 10, 2012 05:43 PM UTC

Hi Sridharan,

 

Thanks for using Syncfusion products.

 

We have analyzed your query and achieved your requirement by handling  CurrentCellValidating event. We have also prepared sample based on your requirement and it can be downloaded from below location.

 

Sample Location: GridDataControl_SL.zip

 

Please let us know if you have any queries.

 

Thanks,

Kannan.R


Loader.
Up arrow icon