:: Forum >>

performance of hiding rows

I am using setRowIndices to show and hide rows based upon filtering and search functions. When there is a high volume of data, this is very slow.
I found that hiding columns is much , much faster changing the stylesheet dynamically vs. using the setColumnIndices. I'm looking for some alternative way to hide rows faster. I don't think i can use stylesheets because of the number of entries that would be required.

Joel
Thursday, October 12, 2006
BUMP
Joel
Friday, October 13, 2006
You can try adding dynamic css class to the row template -

.aw-visible-false {display: none}

row.setClass("visible", function(){return this.getRowProperty("visible")})

grid.defineRowProperty("visible", function(){...});

You still have to refresh either the full grid or at least the rows which change 'visibility'.
Alex (ActiveWidgets)
Friday, October 13, 2006

This topic is archived.


Back to support forum

Forum search