cancel
Showing results for 
Search instead for 
Did you mean: 

ScrollList scroll over bottom

shark
Senior

For example, I have a ScrollList with visible rows of 10, and have 20 rows(number 1 to number 20) content inside it, not circular. When scroll up, it will show row numer 20 at top and 9 empty row space.

What I expect should be, it shows row 11 to row 20 in visible space, and can NOT scroll up further.

The widget is open sourced, but looks compliated. How to patch it?

1 ACCEPTED SOLUTION

Accepted Solutions
PBull
Associate III

Hi,

no need to patch it, something like this should work:

scrollList.setNumberOfItems(20);

scrollList.setWindowSize(10);

Greetings,

Peter

View solution in original post

2 REPLIES 2
PBull
Associate III

Hi,

no need to patch it, something like this should work:

scrollList.setNumberOfItems(20);

scrollList.setWindowSize(10);

Greetings,

Peter

shark
Senior

Yes, it works perfectly.