We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

GridGroupingControl - Application hangs when grid display is being updated

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

1 Reply

AD Administrator 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

Loader.
Live Chat Icon For mobile
Up arrow icon