Extjs 4 Grid autoScroll
15,472
Put below config in your parent container of GridPanel.
layout: 'fit'
And remove autoScroll
from GridPanel
.
Related videos on Youtube
Author by
Ram Patel
Updated on June 14, 2022Comments
-
Ram Patel about 2 years
I am using
Ext.grid.GridPanel
in Extjs 4.Autoscroll is not working in my
GridPanel
.How can I resolve this?
-
SubOne almost 12 yearsI have been spinning my wheels on this all day. Thank you!
-
VDP almost 12 yearsthe issue is/was the autoScroll option sets overflow to auto, but no height is specified. So you either have to set a height to the container/grid or pick a parent layout that sets the height for you. In most cases the
layout: 'fit'
is most suited. +1 for @Kunal -
hzitoun over 8 yearsHad the same problem with version 6.1 and that trick fixed it perfectly !