I am unable to get a DataView List to scroll vertically. Please see this fiddle:
I am unable to get a DataView List to scroll vertically. Please see this fiddle:
Lists end up wrapping their scrollable portion in a container, so setting scrollable: true isn't having the desired effect. However it defaults to being scrollable, so if you remove the config it should be ok for you.
This is something we'll hopefully be able to rework in the next major version to be a little more intuitive.
In that simple test case, you're overnesting. Your Test component doesn't need to be there, add the list to the Viewport. If this is just a stripped down version, then your Test component needs a layout as the List is just auto-heighting which is not allowing the scrolling.
Mitchell Simoens @LikelyMitch
Check out my GitHub:
https://github.com/mitchellsimoens
Posts are my own, not any current, past or future employer's.
Thanks for the quick reply. Yes the real project is more complicated. I have a container at the top of the screen and the DataView List takes up the the rest of the screen. I made changes to the fiddle to reflect this and added a layout. Now it does not display anything. What Am I missing?
https://fiddle.sencha.com/#fiddle/1ett
Lists end up wrapping their scrollable portion in a container, so setting scrollable: true isn't having the desired effect. However it defaults to being scrollable, so if you remove the config it should be ok for you.
This is something we'll hopefully be able to rework in the next major version to be a little more intuitive.
Twitter - @evantrimboli
Former Sencha framework engineer, available for consulting.
As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.
Thanks, that fixed it.