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 and showing the row

Thread ID:





76866 Sep 27,2008 07:55 AM UTC Sep 30,2008 07:33 AM UTC WinForms 3
Tags: GridControl
Administrator [Syncfusion]
Asked On September 27, 2008 07:55 AM UTC

Hello Support,
How to hide, show a row in gridcontrol which is used in windows form, also how to check wether the row is visible or not.

Thanks in advance

SubhaSheela R [Syncfusion]
Replied On September 29, 2008 05:35 AM UTC

Hi Rajratna,

Thanks for your interest in Syncfusion products.

Please refer to the below forum thread that discusses about the required behavior.


Please let me know if this helps.

Subhasheela R

Administrator [Syncfusion]
Replied On September 29, 2008 10:24 AM UTC

Hello Support,
It will help me a lot if u provide me some sample code for how to show/hide rows in GridControl not in GridGroupingControl. Actually, the problem is i m having near about 3000 rows in my grid, when i try to show all the rows in grid as follows

for I as intege =1 to gridcontrol1.RowCount-1
gridcontrol1.Rows.Hidden(Index) = False

it takes lots of time..
m i doing something wrong ? m new to this so please help me.. It will help me a lot if u provide some sample code

SubhaSheela R [Syncfusion]
Replied On September 30, 2008 07:33 AM UTC

Hi Rajratna,

Thanks for your update.

You can take a look at the VirtTreeGrid sample, as this uses the sample technique to dynamically show/hide blocks of rows. The idea is to have an array list of visible rowindexes, and then use this array list virtually to display the visible rows.

Maybe something like this would be better than to actually hide large blocks of rows. The hiding of rows with Rows.Hidden is mainly intended for a few rows scattered throughout the grid. It is not intended for large numbers of hidden rows. The virtual technique works better in this case.

Here is the path:


Please let me know if you have any queries.

Subhasheela R


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

This page will automatically be redirected to the 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