When the grid first loads I want specific columns to be editable.
I have a checkbox that i want to allow the user to change. Upon changing the checkbox i will then trigger an event that will make other columns become editable.
I know how to set all columns to editable with the following:
I also know how to get the specific column that I want to set the edit mode on:
However I am not sure how to bridge the gap here.
I'm sure the answer is simple but I'm missing it for the moment.
Thx
I have a checkbox that i want to allow the user to change. Upon changing the checkbox i will then trigger an event that will make other columns become editable.
I know how to set all columns to editable with the following:
foreach (GridItem item in RadGrid1.MasterTableView.Items) { if (item is GridEditableItem) { GridEditableItem editableItem = item as GridDataItem; editableItem.Edit = true; } } RadGrid1.Rebind();I also know how to get the specific column that I want to set the edit mode on:
foreach (GridColumn column in RadGrid1.Columns) { if (column.UniqueName == "Reserved") { if (column is GridEditableColumn) { GridEditableColumn editableColumn = column as GridEditableColumn; }
} }However I am not sure how to bridge the gap here.
I'm sure the answer is simple but I'm missing it for the moment.
Thx
