ExtJS 4: How can I get all grid columns in current order? -


when use grid.columns returns columns grid (visible or not), it's not in current order..

then tried grid.getview().getgridcolumns() , returned columns in current order, visible ones.

how can columns, visible , not visible, in current order?

you can try

grid.down('headercontainer').getgridcolumns(); 

returns visible , non-visible columns

grid.down('headercontainer').getvisiblegridcolumns(); 

returns visible columns


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -