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 -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -