How to expand ExtJS SplitButton?
How to expand ExtJS SplitB开发者_运维问答utton, to see sub items, from code?
Ext version 3.1.0
Thanks.
Try the showMenu() method to display the menu items.
sptButt.showMenu();
Hope this helps.
This is an example how to open context menu by clicking on a split button:
{
xtype: 'splitbutton',
text: 'This is a split button, no kidding',
handler: function () {
this.showMenu();
}
}
精彩评论