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 have a GridControl and have set the table style to be static. I cannot edit the values that i populate in the cells, however i can delete them using the delete key. Am i missing something?
GridStyleInfo staticCell = new GridStyleInfo();
staticCell.CellType = "Static";
staticCell.ReadOnly = true;
grid.TableStyle = staticCell;
Thanks!
ADAdministrator Syncfusion Team February 6, 2003 07:49 PM UTC
You can handle the ClearingCells event and set e.Cancel = true when you do want avoid specified cells beeing cleared.
I have to investigate further why the .ReadOnly setting is ignored in that case. This might be a bug and we'll have to fix that.
Stefan