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,
We are using Syncfusion v3.2.1.0. We have a databound GridGroupingControl. The bound dataset will be updated dynamically. So, when dataset is being updated, we are locking the grid from being updated. Once dataset updation is done, we are updating grid display. Plz see the below code for locking & unlocking grid display.
//If data source is being updated
if((lockGrid) && (!mIsGridLocked))
{ //LOCK THE GRID FROM UPDATING THE DISPLAY
grdCallSheet.Table.TableDirty = true;
grdCallSheet.Table.SummariesDirty = true;
this.grdCallSheet.BeginUpdate();
}
else if ((!lockGrid) && (mIsGridLocked))
{
//If data source updation completed
//UNLOCK THE GRID AND UPDATE THE DISPLAY WITH NEW RECORDS
this.grdCallSheet.EndUpdate(true) ;
grdCallSheet.Table.TableDirty = false;
grdCallSheet.Table.SummariesDirty = false;
grdCallSheet.Refresh();
}
This code works fine when the dataset has less no of records. But at times when dataset is populated with 30, 000 (30K) records, application hangs at "this.grdCallSheet.EndUpdate(true) ;". So, we have never seen 30K records displayed in the grid.
Is there any limit on no of records? If not, how do we correct this behaviour? If we dont apply locking mechanism, then updating the bound dataset it self hangs the application, as grid updates continuosly.
Thanks in advance
Rajani Kanth Badri
ADAdministrator Syncfusion Team July 4, 2006 05:44 PM UTC
Hi Rajani,
Please look into our shipped browser sample ''GroupingPref'' ( \\windows\Grid.Grouping.Windows\Samples\GroupingPerf ) which demonstrates a way to update or insert records in the grid. Kindly try it and let us know if you need any assistance. Also please update us the call stack if any exceptions is thrown.
Thanks,
Madhan