PDA

View Full Version : More than one fixed scrolling column in a grid



asmweb
23 Mar 2012, 3:06 AM
Hello all,

I am developing a very big horizontal and would like to have the first three columns fixed. I know that fixing the first column can be achieved by having the locked: true but is there a way to get more than one column blocked?

Thanks

mitchellsimoens
23 Mar 2012, 11:34 AM
What do you mean blocked? You can have as many columns locked as you want.

asmweb
24 Mar 2012, 7:05 AM
Blocked means locked, that would mean that the column will not scroll horizontally. I can not make more than on column locked from scrolling.

mitchellsimoens
24 Mar 2012, 7:19 AM
http://docs.sencha.com/ext-js/4-0/#!/example/grid/locking-grid.html

If you go to the header menu on any column that isn't locked and press the lock menu item, it will then have multiple locked columns.

asmweb
27 Mar 2012, 7:37 AM
Thank you I could managed to complete that but now I got a problem. As my grid uses row editor when I double click on the field firebug outputs me this error:

headerCt is undefined

fields: headerCt.getGridColumns(),Any hint?