Adding drop-down menu for the [+] “Add” button
In this example we’ll add a drop-down menu to the [+] button and set up a simple combo box with a store:
In this example we’ll add a drop-down menu to the [+] button and set up a simple combo box with a store:
In this example we’ll use some CSS magic and DOM manipulation to achieve the following layout. You might think this is easy to do with native layouts in ExtJS4, but I’ve found otherwise.
In this example we’ll use some CSS magic to put a button in the upper right corner of the fieldset. The button will be a child of our fieldset, so that when you collapse/expand the fieldset, the button behaves appropriately.
Basic Textfield Input Layout
In this example we put together the following layout that correctly grows vertically, as fields/errors are added:
In this example you will get a gold nugget. ExtJS4 shipped without support for fieldsetĀ icons. This is most unfortunate, considering ExtJS 3 had them.
You will need the following “fix”: