Home Forums WinForms controls Xceed Grid for WinForms Cannot disable control in CheckBox/ViewerEditor Reply To: Cannot disable control in CheckBox/ViewerEditor

User (Old forums)
Post count: 23064

Setting the cell or the row to ReadOnly should work.  However you can also change the default CheckBoxEditor/Viewer on the cell, and replace it by one that is disabled.


gridControl1.DataRows[ 0 ].Cells[

“Discontinued” ].ReadOnly = true;


gridControl1.DataRows[ 0 ].ReadOnly =



WinCheckBox checkBox = new WinCheckBox();

checkBox.Enabled =


gridControl1.DataRows[ 0 ].Cells[

“Discontinued” ].CellEditorManager = new CheckBoxEditor( checkBox );

gridControl1.DataRows[ 0 ].Cells[

“Discontinued” ].CellViewerManager = new CheckBoxViewer( checkBox );

Imported from legacy forums. Posted by André (had 912 views)