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.
Me.GridDataBaseConditions.Model.CoveredRanges.Add(GridRangeInfo.Cells(0I, Me.GridDataBaseConditions.Model.ColCount + 2I, 0I, Me.GridDataBaseConditions.Model.ColCount + 3I))
ADAdministrator Syncfusion Team January 23, 2004 04:53 AM
Figured this one out .... by problem was ColCount was return 0 ...
ColCount is still zero ... when does grid.Model.ColCount get updated?
ADAdministrator Syncfusion Team January 23, 2004 05:47 AM
After adding the columns, try calling grid.Model.ResetVolatileData to make sure any cached values of ColCount are reset.