EXTJS Dynamically put a component into a container with other components
问题 I'd like to achieve this behavior: If a field (combo, text, date ...) in a form panel has a custom property set true { xtype: 'textfield', fieldLabel: 'Name', name: 'Name', customProp: true }, then add a button or other components behind the actual component. Writen in json it would look like this: { xtype: 'container', margin: '0 0 8 0', layout: 'hbox', items: [ { xtype: 'textfield', fieldLabel: 'Name', name: 'Name', }, { xtype: 'button', text: 'xxx', tooltip: 'I\'m a custom tooltip' } ] } I