Hi
Is there a way to set the grid property so that some rows are readonly but others are editable?
e.g. a grid with column 1, column2, and column3.
if column1’s value is “Red”, then the whole row is readonly, is column1’s value is other values except Red, it is editable. How could I do this? Thanks!
Hi Is there a way to set the grid property so that some rows
Share
This can be done using the GridView’s ShowingEditor event. I.e. you should just set the e.Cancel parameter to true if you want to prevent a certain cell from being edited. For more details, please refer to the How to Conditionally Prevent Editing for Individual Grid Cells