开发者

How to replicate the column section option into a button in a grid's topbar?

In Extjs 4 every column has an option for selecting the visible columns, like this:

How to replicate the column section option into a button in a grid's topbar?

How can I replicate the same functionality into th开发者_StackOverflow社区e grid's topbar?

Thank you.


Of course you can. Just see the source of Ext.grid.header.Container #getMenu #getMenuItems

  • http://docs.sencha.com/ext-js/4-0/#/api/Ext.grid.header.Container
  • http://docs.sencha.com/ext-js/4-0/source/Container2.html#Ext-grid-header-Container
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜