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