extjs4 - How to add an ExtJs component at a specific position (index)? -



extjs4 - How to add an ExtJs component at a specific position (index)? -

i have toolbar components (textfields , buttons) , dynamically add together component (textfield, example) before other components.

i tried tbbar.add(mycomponent); without success.

any idea?

you can utilize ext.container.abstractcontainer.insert:

tbbar.insert(0, mycomponent);

extjs extjs4 extjs3

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -