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 - STOP all grid events/operations while grid bound dataset is being updated

Thread ID:

Created:

Updated:

Platform:

Replies:

41288 Feb 27,2006 09:24 AM Feb 28,2006 01:00 AM Windows Forms 3
loading
Tags: GridControl
Badri Rajani Kanth
Asked On February 27, 2006 09:24 AM

Hi, We are using GGC bound to a dataset to display large amount of data. These data has two parts. Primary data is bening loaded into dataset in main thread. Secondary data is beling loaded in worker thread. When Primary data is loaded(into dataset), the grid displays main data. However, while secondary data is being loaded (row by row) the grid seems to fire some events for each row, and loading of secondary data(though smaller than Primary) is taking much longer time. I have unhooked "GGC.QueryCellStyleInfo" event while secondary data loading and also called "GGC.BeginUpdate()". But there no performance improvement. Now, we are loading primary data into grid bound dataset. And then creating a copy of dataset. Then we are first loading secondary data into the copy dataset. Once loading is done, we are merging the copy with the grid bound dataset. This is giving us dramatic performance improvement. So, while data is being loaded into bound dataset, we think that grid is raising number of events/doing some operations which are consuing time and resources. Can you plz explain us how to stop all such grid events/operations? Give us events to be unhooked? Ideally we want to lock the grid display and operations while data is being updated in the background. Any help plz.. Rgds Badri Rajani Kanth

stanleyj [Syncfusion]
Replied On February 27, 2006 10:01 AM

Hi Badri, Please refer this thread and see if that helps. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=41226 Best regards, Stanley

Badri Rajani Kanth
Replied On February 27, 2006 11:31 AM

Hi, Thank you very much..This will help us really a lot. At some places, we are using customized GridListControl instead of normal list boxes. SO, I am wondering, is there any thing like(tableDirty = true/false) for that control also. Cause we have same problem there also? Rgds Rajani Kanth >Hi Badri, > >Please refer this thread and see if that helps. > >http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=41226 > > >Best regards, >Stanley

stanleyj [Syncfusion]
Replied On February 28, 2006 01:00 AM

Hi Rajani, A sample project will help to solve the issue easier. Can you please upload a small sample for the GridListControl issue. Best regards, Stanley

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.

;