Objective Grid: Setting cells to be read-only.

Article ID: 665
Last updated: 11 Apr, 2018
Article ID: 665
Last updated: 11 Apr, 2018
Revision: 3
Views: 2399
Posted: 12 Jan, 2001
by Meltreger B.
Updated: 11 Apr, 2018
by Meltreger B.

Problem


How can I set specific cells read-only or the whole grid read-only so that the user cannot make changes?


Cause



Action


You can set the whole grid read-only with CGXGridCore::SetReadOnly( ) and specific cells with CGXStyle::SetReadOnly( ). After setting cells (or the grid) you cannot apply any changes programmatically to the cell and also the user cannot change the cells.

This article was:   Helpful | Not helpful
Report an issue
Article ID: 665
Last updated: 11 Apr, 2018
Revision: 3
Views: 2399
Posted: 12 Jan, 2001 by Meltreger B.
Updated: 11 Apr, 2018 by Meltreger B.

Others in this category