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 }); });