VirtualList scrolling to row index without rendering every item

Enyo 1.0 VirtualList.


So i have a list that can have over 10000 entries.

Sometimes i am going to need to scroll to item #8000 from item #0.

I have all the required info for each row already in memory.

The only way i have found so far is to find the scrollspot of the item, set it to the scroller, and then call start() on the scroller, which then will scroll through the list until it reaches the item. When it has to go through 8000 items, it takes upto 10 seconds.

I've been digging through everything that makes up the VirtualList, but i can't figure out a way to get it to start rendering from a specific page.

Is it possible?
I need like a scrollIntoView() method for the VirtualList.

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Twitter