Example of Lock Row in ASP.NET MVC Tree Grid Control
This samples demonstrates the way of preventing editing for certain row and disable the locked rows to differentiate edit and non-editable rows in Tree Grid.
|
Disable Rows
|
|
The Tree Grid supports CRUD operations. This CRUD operations can be configured in Tree Grid using EditSettings. Also, it has different modes to manipulate the datasource.
The available modes are,
RowCellDialog
In this sample, we have provided an option in property panel to prevent editing for certain rows. Using BeginEdit event of Tree Grid, we prevent the editing for selected Task ID row in the dropdown and disable the corresponding row using RowDataBound event of Tree Grid.
Looking for the full ASP.NET MVC Tree Grid component overview, features, pricing, and documentation? Visit our ASP.NET MVC Tree Grid component page.