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

hide rows and scroll bar

Thread ID:





36452 Oct 31,2005 09:15 AM UTC Oct 31,2005 12:43 PM UTC WinForms 6
Tags: GridControl
Kevin Vickers
Asked On October 31, 2005 09:15 AM UTC

i have a grid (virtual) with about 100 rows, when the user clicks a separate check box i go thro and hide certain rows( about 90%) based on a cell content. this is fine but when i go thro and unhide those rows the vertical scroll bar fails to come back. Even if i set the scroll bar to display it is not enabled

Administrator [Syncfusion]
Replied On October 31, 2005 09:23 AM UTC

After hiding the rows, try calling grid.Refresh() to see if that makes the scrollbar appear properly.

Kevin Vickers
Replied On October 31, 2005 09:28 AM UTC

no... no difference

Administrator [Syncfusion]
Replied On October 31, 2005 10:07 AM UTC

Attached is little sample with a button that hides rows in a virtual grid. The scrollbar seems to work as expected for me using version 3.3. What are you doing differently? Can you upload a sample showing the problem?


Kevin Vickers
Replied On October 31, 2005 10:23 AM UTC

here you go... click button 2


Administrator [Syncfusion]
Replied On October 31, 2005 11:41 AM UTC

The RowHiddenEntries collection is used at design time and not really intended for use at run time. To reset the hidden rows at runtime, use code like: this.gridControl1.Rows.Hidden.ResetRange(1, this.gridControl1.RowCount);

Kevin Vickers
Replied On October 31, 2005 12:43 PM UTC

that got it.... thanks


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