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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GridTreeControl slow to scroll when window is large

Thread ID:

Created:

Updated:

Platform:

Replies:

113784 Oct 8,2013 01:02 PM UTC Oct 19,2013 03:24 AM UTC WPF 1
loading
Tags: GridControl
Tim Coleman
Asked On October 8, 2013 01:02 PM UTC

Hi,

I am finding that the GridTreeControl scrolls very slowly when there are lots of cells visible on the screen. It may be the rendering of cells which is slow. The cells just contain strings.

SfDataGrid is coping with the same situation perfectly well.

Setting SupportsVisualStyles to False helps, but scrolling performance is still poor.

Is SfDataGrid doing something clever to speed scrolling up? Can GridTreeControl do the same thing?

I am using version 11.3040.0.30

Thanks
Tim


performance_vs2010_4ef4bd0e.zip

Gobinath A [Syncfusion]
Replied On October 19, 2013 03:24 AM UTC

Hi Tim,

Sorry for the delay in getting back to you.

We have analyzed the performance issue of GTC with our source, the cells width and height in GTC is smaller than the SfDataGrid and so it holds maximum number of cells in the view and it takes time to create more cells while scrolling. Moreover the SfDataGrid implementation is different from GTC, it is a fast Grid. To increase scrolling performance in GTC, we need to increase the cell width and height as following code snippet.

 

Code snippet[C#]:

this.treeGrid.ModelLoaded += new EventHandler(treeGrid_ModelLoaded);

 

void treeGrid_ModelLoaded(object sender, EventArgs e)

 {

   this.treeGrid.DefaultColumnWidth = 120;

   this.treeGrid.InternalGrid.RowHeights.DefaultLineSize = 40;

 }

 

Please let us know if you have any queries.

 

Regards,
Gobinath A


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.

Warning Icon 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.Close Icon

;