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'm using the GridControl as the data editor.If data is very large(say over 10,000 records),the data filling speed is quite slow.Is there any way to improve the speed?
the way I use like below:
this.gridControl1.RowCount = recordCount; this.gridControl1.BeginUpdate();
while(!obj.TableRecordEOF())
{
count++;
string[] record =...;
for(int i=0;i
ADAdministrator Syncfusion Team August 11, 2003 06:57 AM UTC
I think you can speed things up considerably by avoiding the use of the indexer on the grid, and instead, directly populate the GridData object. Doing so, will avoid multiple events that are fired as you use an indexer on the grid object.
So, outside of your loops, get a reference to the GridData object.
GridData data = this.gridControl1.Data;
Then inside your loops, instead of
this.gridControl1.Model[count,i+1].Text =record[i];
try
GridStyleInfo style = new GridStyleInfo();
style.Text = record[i];
data[count, i+1] = style.Store;
ADAdministrator Syncfusion Team August 12, 2003 12:55 AM UTC
Thanks Clay,
the way you suggested is perfect.
Kaifeng Chen