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 having some trouble with the GridDataBoundGrid when a column''s style is set to the checkbox.
It seems that whenever the user clicks the checkbox (or tabs into it and hits spacebar), the value is immediately set in the underlying DataView that the grid is bound to.
When the event handler for "CurrentCellValidating" is hit - the value has already been set in the dataview. So there is no way to cancel the validation or perform any action on the data before it is send to the data source.
This is not the case for textbox control in the cell - seems to only happen with checkboxes.
This is causing a significant problem in our application since we can''t do any custom actions before the dataview''s value is set like we can on every other control in our application.
Also - the behavior for a standard checkbox on the form is the same as for the textbox in a grid cell - the value is only set in the underlying dataview after the "Validating" event has fired (and that event didn''t get cancelled).
I noticed the value was set in the dataview even when the "CurrentCellChanged" event was fired - and that is fired before the Validating event.
Any ideas/workarounds would be greatly appreciated!