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.

Fastest way to hide rows?

Thread ID:





49943 Sep 30,2006 09:27 AM Oct 2,2006 02:58 PM Windows Forms 1
Tags: GridControl
Maxim Software Systems
Asked On September 30, 2006 09:27 AM

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 02:58 PM

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.

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.