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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Hiding Multiple Rows in a Grid

Thread ID:





106436 Jan 7,2013 02:47 PM UTC Jan 14,2013 12:30 PM UTC WinForms 4
Tags: GridControl
Bryan Roberts
Asked On January 7, 2013 02:47 PM UTC

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 12:08 PM UTC

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 02:22 PM UTC

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 03:28 PM UTC

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 12:30 PM UTC

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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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