Cell Attributes: Changing a read-only cell to be writable

Article ID: 510
Last updated: 16 Apr, 2018
Article ID: 510
Last updated: 16 Apr, 2018
Revision: 3
Views: 1880
Posted: 09 Jan, 2001
by Meltreger B.
Updated: 16 Apr, 2018
by Meltreger B.

Problem


How can I make read-only cells writeable again?


Cause



Action


Here is some sample code:

GetParam()->SetLockReadOnly(FALSE);
SetStyleRange(range, CGXStyle().SetReadOnly(FALSE));
GetParam()->SetLockReadOnly(TRUE);

You might also use the CGridUnlock class presented in "How can I programmatically change cells that have been marked read-only?"

This article was:   Helpful | Not helpful
Report an issue
Article ID: 510
Last updated: 16 Apr, 2018
Revision: 3
Views: 1880
Posted: 09 Jan, 2001 by Meltreger B.
Updated: 16 Apr, 2018 by Meltreger B.

Others in this category