I am using Ext.grid.GridPanel
in Extjs 4.
Autoscroll is not working in my GridPanel
.
How can I resolve this?
I am using Ext.grid.GridPanel
in Extjs 4.
Autoscroll is not working in my GridPanel
.
How can I resolve this?
If the parent container needs to use some other layout other than 'fit', as suggested by previous comments, you could try this: set the height of the grid once the store loads. Moreover, instead of having to calculate the actual height, this may do the trick:
grid.setHeight('100%')
According to documentation, setHeight can accept "A String used to set the CSS height style."