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

Fastest way to hide rows?

Thread ID:





49943 Sep 30,2006 01:27 PM UTC Oct 2,2006 06:58 PM UTC WinForms 1
Tags: GridControl
Maxim Software Systems
Asked On September 30, 2006 01:27 PM UTC

I''m currently using a simple GridControl and need to hide a few dozen scattered rows once in a while. I''ve been repeatedly calling the SetRowHidden method, but it seems very slow. Is there a faster way to hide individual rows?

Administrator [Syncfusion]
Replied On October 2, 2006 06:58 PM UTC

Hi Don,

We have updated new logic that increases the performance while synchronizing the Hidden rows/cols with the scroll grid. It will be available in our coming 4.4 release.

GridScrollVisibleElementsMapper in GridScroll.cs (src\Base\Control)

#region NewHiddenScrollLogic
GridScrollVisibleElementsMapper visibleColumns = new GridScrollVisibleElementsMapper();
GridScrollVisibleElementsMapper visibleRows = new GridScrollVisibleElementsMapper();

/// Use this class if you have an array of rows or column elements
/// and you want to be able to hide a range of rows or columns. The
/// class uses binary trees to map from original to visible position
/// and vice versa.

internal class GridScrollVisibleElementsMapper



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