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.
When using the grid with a "virtual model", how do you get the grid to recognize that the column and row counts have changed ? I have overridden the QueryColCount and QueryRowCount event handlers, but what is it that forces the underlying events to fire ?
ADAdministrator Syncfusion Team October 10, 2002 04:11 PM UTC
Normally, when there is new data to display, you just redraw the grid by calling Refresh() or RefreshRange() or Invalidate. This forces the grid to request the new data when it draws.
So, if your external data changes column 2, then you can call gridControl1.Refresh(GridRangeInfo.Col(2)); to have the grid redraw column 2 using the new data.
If you do something like change the number of rows and columns, you may also have to call ResetVolatileData(); as these values may get cached.