How can I make a cell read only but still have able to be changed through code

I made my grid read only but when I do the following to the grid after calling the read only the text doenst get passed: gc_Grid.ReadOnly = True gc_Grid(i_Row, i_Col).Text = al_VariableList.Item(i_Index) gc_Grid(i_Row, i_Col).CellTipText = str_CellExtractInfo How can I make the grid be able to be changed through code as well as have nested gridlist controls that are navagationable but have the information uneditable by a user?

1 Reply

AD Administrator Syncfusion Team August 5, 2005 10:53 PM UTC

When you want to change it through code, first set grid.IgnoreReadOnly = true, make the change and then reset grid.IgnoreReadOnly back to false.

Loader.
Up arrow icon