We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

CheckBoxClick event

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

1 Reply

AD Administrator Syncfusion Team June 20, 2004 12:05 PM

You can get it directly from the grid. bool newVal = !((bool)this.gridControl1[this.gridControl1.CurrentCell.RowIndex, this.gridControl1.CurrentCell.ColIndex].CellValue);

Loader.
Live Chat Icon For mobile
Up arrow icon