The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi,
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;
Thanks!
James
ADAdministrator Syncfusion Team October 7, 2003 03:12 PM UTC
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"?
Stefan
JAJamesOctober 7, 2003 04:05 PM UTC
Found the problem. It was caused by my CurrentCellKeyPress event handler. Sorry about that.