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
Post a Comment