开发者

How to expand ExtJS SplitButton?

开发者 https://www.devze.com 2023-02-11 13:40 出处:网络
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.

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

精彩评论

暂无评论...
验证码 换一张
取 消