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.
0 • •
Comments
Instead of having the row number of the virtual list correspond with the direct item number, have an offset you use in fetching rows. Then just set your internal offset to 8000 and rerender so that Enyo thinks its row 0 but its really row 8000.
- Spam
- Abuse
0 • Off Topic Insightful •- Spam
- Abuse
0 • Off Topic Insightful •