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.

Coverage Range problem in grid

Thread ID:

Created:

Updated:

Platform:

Replies:

54817 Jan 18,2007 01:55 AM Jan 19,2007 05:21 PM Windows Forms 3
loading
Tags: GridControl
Babu
Asked On January 18, 2007 01:55 AM

Hi all,

In Syncfusion grid,
When i combine more than one column
using this code.
this.RTC.Model.CoveredRanges.Add(GridRangeInfo.Cells(1,1,3,1))
its decreasing the speed of the application(loading taking a long time).

what the solution to this problem though i combine many column together.

regards

Thanks in advance

Babu Patkar

Administrator [Syncfusion]
Replied On January 18, 2007 10:16 AM

Hi Babu,

Can you try this way and see if there is improvement in the performance.

this.gridControl1.BeginUpdate();
//
// Code to CoverRange
this.RTC.Model.CoveredRanges.SetCoveredRange(GridRangeInfo.Cells(1,1,3,1),true);
//
this.gridControl1.EndUpdate();

Best regards,
Haneef

Babu
Replied On January 19, 2007 12:07 AM


Hi hannef!

I try in the way u specified.

its faster than before but not that much notable faster. if i have around 1000 to 2000 records
even this solution is not working well.

pls can u help in suggesting me any other solutions.

regards

Babu patkar

Administrator [Syncfusion]
Replied On January 19, 2007 05:21 PM

Hi Babu,

Take a look at this sample in windows\Grid.Windows\Samples\Performance\TraderGridTest to see if that helps in boosting performance.

There is another way you can freeze the painting. This technique works for any control and is discussed in one of our WIndows Forms FAQ. It adds aFreezePainting property to the class that you can turn on and off. This technque has worked in situations where BeginUpdate is being cancelled for special reasons. Here is a forum thread that has the references to the FAQ and includes a sample of how to use it.

Forum thread : http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=9290


Maybe this technique will work for you.
http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c95c.aspx#q637q

Thanks,
Haneef

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.

;