I am using checkbox in one column of the grid. It is enabled, TriState is set to false and ThemesEnabled is set to true. It runs fine and checkbox looks like XP style since I created a manifest file. However, when the checkbox is active I can only change its state by clicking on it. Press space bar does not toggle the state. Did I forget to set something.
Here is part of the code:
this.gridControl1[1,1].CellValue = false;
this.gridControl1[1,1].CellType = "CheckBox";
this.gridControl1[1,1].TriState = false;
this.gridControl1[1,1].Enabled = true;
ADAdministrator Syncfusion Team October 7, 2003 11:12 AM
This sounds odd. You should be able to change its state with the keyboard. Is an exception thrown anywhere?
Check out also the CheckBoxOptions. Are they setup correctly? What if you change .CellValue = false; to .CellValue = "0"?
JAJamesOctober 7, 2003 12:05 PM
Found the problem. It was caused by my CurrentCellKeyPress event handler. Sorry about that.