PDA

View Full Version : Locked grid column is not sync when bottom scroll bar shows up.



hayangae
11 Sep 2013, 3:27 PM
Hi,

I created a grid table with locked columns. When the window shrinks and unlocked portion shows bottom bar, the two sets of columns not in sync. I would like to add some space under unlocked ( under trip number) column to make them sync. Is there any config option I can use? or in the Kitchen Sink, Locking Grid example it has scroll bar outside of data grid. Could you let me know how to do it?

Thank you in advance.
45763

ettavolt
11 Sep 2013, 10:24 PM
To show scrollbar outside, set your grid's parent layout to auto and config autoScroll on it.

hayangae
12 Sep 2013, 1:36 PM
Thank you for the answer but when it is applied the lock column move with the scroll.
I think it is scroll bar options, when I look at "http://docs.sencha.com/extjs/4.2.1/#!/example/grid/locking-grp-summary-grp-hdrs-grid.html" this example, scroll bar is in the grid, but the locked column has space at the bottom of it.

I don't know why mine has scroll bar in locked columns side.

hayangae.