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 have derived a FormulacellModel to a custom cell model and all my cells in the Grid are set to this custom celltype. Inside the custom model I access a CustomProperty and when the cell text changes I set the value to the customproperty. I have overridden the TextBoxChanged/OnEditingComplete methods. Now when I multi select cells and delete the event is fired only for the last cell in the selection. So the gird now shows empty value but when I access my customproperty the value is not cleared. Can you let me know how to handle this?
Is it possible to handle the clear event inside my customcellrenderer class, because I will be using this customcell across several girds and don't want to handle the clear event in each of the grid.
thanks thanvir.
>Hi Thanvir,
You can handle the Model.ClearingCells event and reset the CustomProperty there. Below are the code snippet to resolve this issue.
this.gridGroupingControl1.TableControl.Model.ClearingCells += new GridClearingCellsEventHandler(Model_ClearingCells);