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.

Hiding Multiple Rows in a Grid

Thread ID:





106436 Jan 7,2013 09:47 AM Jan 14,2013 07:30 AM Windows Forms 4
Tags: GridControl
Bryan Roberts
Asked On January 7, 2013 09:47 AM

Good Morning,

I am attempting to hide multiple rows in a grid and am experiencing a lot of performance issues when doing this. I am trying to hide all the rows in a grid (over 1000) and then add just a certain few when the grid refreshes. Currently I am using Syncfusion.Windows.Forms.Grid.GridControl.HideRows.SetRange(startrow, endrow, true); 
This code seems to take a long time to hide all the rows in the grid and I was wondering if there is a known issue with this or a faster way to implement this idea.

Thanks in advance,

Athiram S [Syncfusion]
Replied On January 8, 2013 07:08 AM

Hi Bryan,

Thanks for your interest in Syncfusion Products.

We have analysed your Query. As you have mentioned that there occurs some performance issue when you hide a range of rows, you can make use of "UseOldHiddenScrollLogic" and set it to true or you can use :


This will resolve your issue.


Athiram S

Bryan Roberts
Replied On January 8, 2013 09:22 AM

Athiram S,

Thank you for your quick response regarding this issue. Are you suggesting that in add a call to EnableDoubleBufferSurface() before calling the HideRows.SetRange(). When I tried this it caused even more performance issues. 

Thank you,
Bryan R. 

Bryan Roberts
Replied On January 8, 2013 10:28 AM

I do not think I made my problem clear and I apologize for that. I am trying to hide 33,000+ rows in a grid. The method I initially used was HideRows.SetRange() then passed in the range of rows I wanted to hide. This method takes way to long and there is clearly a performance issue. There is no issue with scrolling just with the time it takes to hide all the rows in the grid. 


Vinish Kumar K [Syncfusion]
Replied On January 14, 2013 07:30 AM

Hi Bryan,


Thanks for your update.


We have found the same query is posted by you in another on forum ticket also. Please refer that forum for further update. This will easy to handle the forum from our side and your side to keep follow up. Please refer that forum from the following link.




Thanks for your cooperation .





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.