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.
I''m handling the CheckBoxClick event in a GridControl and the CurrentCell.Renderer is null. What I''d like to know is the new checked state of the cell. I know I can handle this with CurrentCellChanged, but CheckBoxClick seemed more specific to the task at hand.
So, I suppose the question is: how do I determine the check state of a cell in the CheckBoxClick event?
Thanks,
Sean
ADAdministrator Syncfusion Team June 20, 2004 04:05 PM UTC
You can get it directly from the grid.
bool newVal = !((bool)this.gridControl1[this.gridControl1.CurrentCell.RowIndex, this.gridControl1.CurrentCell.ColIndex].CellValue);