I have a problem where my CellValue won't update. In my Display routine, I set certain ReadOnly values of cells to True, the first time it runs the display routine runs ok. But the second time it fails, the items won't update because ReadOnly won't go back to False.. Am I missing something else very obvious? The grid control itself is NOT set to readonly.
This code is in there the help draw the grid right, I don't think these should have an affect on what I'm doing??
... .cellvalue changing code in here..
ADAdministrator Syncfusion Team August 4, 2003 11:19 AM
If you have a cell whose style.ReadOnly is true, then you cannot change it unless you tell the grid to ignore the readonly settings:
this.grid.IgnoreReadOnly = true; //turn readonly off
// make your changes to readonly cells...
this.grid.IgnoreReadOnly = false; //turn readonly on