Adding two buttons next to ExtJS ComboBox

I need to add an Add button and a Remove button next to ExtJS ComboBox. It is imperative that these three elements are on the same line, because I have to apply this to all the other ComboBoxes in the field set too.

Note that ComboBoxes data are elements of a set of fields. Replacing buttons with context menu items is not a desired solution.

Can you give me some ideas? Thanks in advance.

+3
source share
2 answers

To do this, you can put all three elements - combobox and two buttons - in a container with an hbox layout. This will put them all on one line.

Hope this helps.

+1
source

Ext.form.FieldContainer - , .

, .

0

Source: https://habr.com/ru/post/1785460/


All Articles