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 am handling the GridCellClickEventHandler. While debugging, I noticed this event fires before the checkbox click takes effect, for e.g. if the original state was checked, the state value when stepping into this function is still true, although, the click would have set the value to false.
Am I supposed to reverse this logic or is there a better way of doing this?
HAhaneefm Syncfusion Team October 10, 2007 02:52 PM UTC
Hi Ashes,
The reason is that the CheckBoxClick is raised just before the value of the current cell is changed. Try handling the CurrentCellChanged event. This is raised after the value has been updated. In the CurrentCellChanged event, you can access the underlying style value with grid.Model[CurrentCell.RowIndex, CurrentCell.ColIndex].CellValue.Here is code snippet