I have grid with some readonly columns. When entering to edit mode I want the user to be able to see the value of the readonly column. Readonly column values disappear in edit mode.
3 Answers, 1 is accepted
0
Pavlina
Telerik team
answered on 14 Apr 2009, 07:19 AM
Hi Edward,
Editable column types (column types that implement the IGridEditableColumn interface) have a ReadOnly property that determines whether the column editor is visible in the edit form.
Please note that when ReadOnly property is set to True, the column editor does not appear in the edit form.
Find more information in the following article: Column types
Kind regards,
Pavlina
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Thanks - I can see that the column does not appear. I guess what I am asking is how do show the value of a column in the grid in edit mode, but prevent the user from changing the data.
For instance take the following table data
Order Name
Edit 3 Item 3
Edit 1 Item 1
Edit 4 Item 4
Edit 5 Item 5
Edit 2 Item 6
When I click Edit I want the user to be able to change the value in the [Order] Column but not in the Name column. However the name column should be visible during the edit.