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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GridGroupingControl - Application hangs when grid display is being updated

Thread ID:





46047 Jul 4,2006 04:30 PM UTC Jul 4,2006 05:44 PM UTC WinForms 1
Tags: GridControl
Badri Rajani Kanth
Asked On July 4, 2006 04:30 PM UTC

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

Administrator [Syncfusion]
Replied On 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


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon