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. Image for the cookie policy date
close icon

Fastest way to hide rows?

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?

1 Reply

AD Administrator Syncfusion Team 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
{
......
.......

Regards,
Calvin.

Loader.
Live Chat Icon For mobile
Up arrow icon