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 problem where my CellValue won't update. In my Display routine, I set certain ReadOnly values of cells to True, the first time it runs the display routine runs ok. But the second time it fails, the items won't update because ReadOnly won't go back to False.. Am I missing something else very obvious? The grid control itself is NOT set to readonly.
This code is in there the help draw the grid right, I don't think these should have an affect on what I'm doing??
grdLineItems.BeginUpdate() grdLineItems.SuspendChangeEvents()
... .cellvalue changing code in here..
grdLineItems.ResumeChangeEvents()
grdLineItems.EndUpdate()
grdLineItems.Refresh()
thanks
ADAdministrator Syncfusion Team August 4, 2003 03:19 PM UTC
If you have a cell whose style.ReadOnly is true, then you cannot change it unless you tell the grid to ignore the readonly settings:
this.grid.IgnoreReadOnly = true; //turn readonly off
// make your changes to readonly cells...
//...
//...
this.grid.IgnoreReadOnly = false; //turn readonly on