View Full Version : Scrolling a grid vertically w/o specifying a fixed height

6 Feb 2012, 7:44 AM
How do I make my grid scrollable vertically w/o specifying a fixed height?

I want the grid to fill it's container, but still scroll. I want to the use the grid scroller instead of the container's scroller because I want the grid header to always be visible. Any help would be greatly appreciated!

6 Feb 2012, 8:13 AM
You can use some CSS overflow rules in 4.1.0 (native scrollbars)

6 Feb 2012, 9:13 AM
I'm using 4.1 beta2 and tried all these combinations of configs on my grid. They provide a scroll bar, but it doesn't actually allow you to scroll down:

style: {overflow:'scroll', 'overflow-y':'scroll'},
style: {overflow:'auto', 'overflow-y':'auto'},

Now, when if I set a height and autoScroll:true it works fine. But again I don't wanna have a fixed height. I want my grid to fill it's container.