I have an ExtJS Panel which contains a label in the first row and second row. Later i have added 4 sub panels each contains a checkbox, and 2 textfields( each sub panel in a row in the main panel). Then i have 2 Move up/Move down buttons which reorder these sub panels up/down by 1 row for each click of the up/down buttons. I am able to layout the main panel with all the subpanels but stuck at reordering the subpanels. How to handle this(reordering the subpanels) functionality in ExtJS?
I have an ExtJS Panel which contains a label in the first row and
Share
The trick to change panel elements dynamically is to call doLayout function after change.
Not prettiest but working example of your problem:
This is for ExtJs 4.0.7, but trick works for earlier versions, just adjust panel creation syntax.