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.

Grouping grid performance question

Thread ID:

Created:

Updated:

Platform:

Replies:

28613 May 5,2005 10:22 AM May 5,2005 01:57 PM Windows Forms 2
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On May 5, 2005 10:22 AM

I insert a large number of records in a DataTable from code. If a grouping grid is bound to the table, the process is much slower than it would be if there were no grid bound to the table. I guess this is because the grid is repeatedly updating its internal structures during the inserts. Is it possible to turn off updating in the grid during the inserts and then have the grid refresh itself afterwards?

Administrator [Syncfusion]
Replied On May 5, 2005 10:41 AM

Try this: this.gridGroupingControl1.Table.TableDirty = true; //do your inserting... this.gridGroupingControl1.Refresh();

Administrator [Syncfusion]
Replied On May 5, 2005 01:57 PM

Thanks a lot Clay. Speed improved dramatically :-)

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.

;