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 adding two columns, at the end, my grid at runtime .. and want to cover the cells, only on row zero the header, of the two columns. This works fine for the first two columns I add but columns after that the cells are not being covered.
Sample Code:
Me.GridDataBaseConditions.Model.CoveredRanges.Add(GridRangeInfo.Cells(0I, Me.GridDataBaseConditions.Model.ColCount + 2I, 0I, Me.GridDataBaseConditions.Model.ColCount + 3I))
Thanks,
Rob
ADAdministrator Syncfusion Team January 23, 2004 09:53 AM UTC
Clay,
Figured this one out .... by problem was ColCount was return 0 ...
Me.GridDataBaseConditions.GridBoundColumns.Add(gridColumn)
ColCount is still zero ... when does grid.Model.ColCount get updated?
Rob
ADAdministrator Syncfusion Team January 23, 2004 10:47 AM UTC
After adding the columns, try calling grid.Model.ResetVolatileData to make sure any cached values of ColCount are reset.