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. Image for the cookie policy date

Coverage Range problem in grid

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

3 Replies

AD Administrator Syncfusion Team January 18, 2007 03:16 PM UTC

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


BA Babu January 19, 2007 05:07 AM UTC


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


AD Administrator Syncfusion Team January 19, 2007 10:21 PM UTC

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

Loader.
Live Chat Icon For mobile
Up arrow icon