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.
Unfortunately, activation email could not send to your email. Please try again.

GridGroupingControl - Application hangs when grid display is being updated

Thread ID:

Created:

Updated:

Platform:

Replies:

46047 Jul 4,2006 12:30 PM Jul 4,2006 01:44 PM Windows Forms 1
loading
Tags: GridControl
Badri Rajani Kanth
Asked On July 4, 2006 12:30 PM

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 01:44 PM

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

CONFIRMATION

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.

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.

;