Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Ext.js SplitButton にはサブメニューが組み込まれたメニューがありますが、Combobox で同じことを行うにはどうすればよいですか? 特に静的データでは?
このようなもの:
Ext.define('MenuTrigger', { extend: 'Ext.form.field.Picker', createPicker: function() { return new Ext.menu.Menu({ items: [{ text: 'Foo' }] }); } }) Ext.onReady(function() { new MenuTrigger({ renderTo: document.body }); });