This is a migrated thread and some comments may be shown as answers.

HeaderContextMenu and Custom Grid Context Menu

1 Answer 138 Views
Grid
This is a migrated thread and some comments may be shown as answers.
RBarnes
Top achievements
Rank 1
RBarnes asked on 27 Oct 2016, 08:27 PM

 

I've got a custom Context Menu that is accessible from anywhere in my grids for setting gridlines (horizontal, vertical, both, none), or export to excel, which I've gotten to work very well.

I would also like to include the HeaderContextMenu (columns) only, so the users can customize the columns displayed.  I've been completely unsuccessful in getting those to work as one item.  In short, is there an easy way to add the columns like those shown in the HeaderContextMenu to my custom context menu and have it function like it does from the HeaderContext menu, with persisting the displayed columns after the users makes their column display choices.

As it is now, I have my custom context on the grid and the headercontext columns accessible from the header only.

 

 

 

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 01 Nov 2016, 12:39 PM
Hello,

You can check the web site samples provided in the following forum thread, as well as, the 2 additional applications attached to this post, 4 in total:
http://www.telerik.com/forums/hide-show-columns-using-external-control#LrqSHil0Qk6LiyZcvrSlWg

I hope these samples will prove helpful for achieving your custom requirement.

Regards,
Eyup
Telerik by Progress
Check out the new UI for ASP.NET Core, the most complete UI suite for ASP.NET Core development on the market, with 60+ tried-and-tested widgets, based on Kendo UI.
Tags
Grid
Asked by
RBarnes
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or