How to access Kendo Grid's column menu only from outside the grid and add the filter option for specific columns in the column header

后端 未结 2 2045
感情败类
感情败类 2021-02-10 18:59

I am new to Kendo Grid and trying to use the columnMenu option. I need to access the column Menu function (only the ability to show/hide columns from a button outside the grid.

2条回答
  •  误落风尘
    2021-02-10 19:17

    This is a pretty old thread, but after searching for similar things I found a post in the Terlerik forum where a user makes reference to "kendoColumnMenu". For as much as I can tell this is undocumented.

    It also shows how to add additional options to the menu that is created for saving grid state or other configuration options of your choice.

    Here is the link to the post which also contains a link to the DOJO with working code: Click Here

    Hopefully this will help someone else searching for this.

提交回复
热议问题