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, Clay!
I have a very weird behavior in my project:
I have a GridControl with no columns (ColCount = 0).
Then I set Me.HierGrid1.ColCount = 1
In the GridModel_ColsInserted event handler I set
GridModel.ColStyles(1).ImageList = myimglist
where myimglist is not Nothing.
And now comes the black magic: in my small tryout project it works but in the big project
GridModel.ColStyles(1).ImageList
remains Nothing after the assignment.
Can you tell me on what properties depends if this assignment gets refused?
ADAdministrator Syncfusion Team June 24, 2005 08:16 AM UTC
You are using a GridControl, and not a GridDataBoundGrid, correct?
After changing the rowcount or colcount, make sure you call grid.ResetVolatileData. The row/col counts can be cached for preformance considerations. In order to make sure teh grid resets any cached values, you need to call ResetVolatileData.
Maybe this is why your application does not know about you changing the colcount.
ADAdministrator Syncfusion Team June 28, 2005 01:44 PM UTC
The problem was the GridControl.ReadOnly flag set to True.