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''m using the GridControl 3.0.1.0. When I select a bunch of cells and there are static cells or header cells included and then I press the delete key, the cells are entirely cleared. I did not find any event where I can prevent this.
For my purposes the best was to either configure for each cell if it can be cleared or an event where I can decide on a per cell basis whether a cell will be cleared or not.
Is there anything like that?
Regards,
Chris
ADAdministrator Syncfusion Team June 21, 2005 07:26 AM UTC
To prevent a cell in a GridControl from being cleared when you press delete, you can set its style.ReadOnly property to true.
grid[0,2].ReadOnly = true;