|| | |||Browse by category|
How can I programmatically change cells that have been marked read-only?
The only way to modify a read-only cell is to cause the grid to temporarily ignore the read-only status of all cells by calling SetLockReadOnly(FALSE). Once this is done, you may then change the cell's value or style attributes. After the changes are done, call SetLockReadOnly(TRUE) to cause the grid to respect the read-only status again.
// Tell the grid to temporarily ignore the read-only