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

How do I cutomize Column Menu of HeaderContextMenu

1 Answer 87 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Tina
Top achievements
Rank 1
Tina asked on 24 Feb 2012, 07:14 PM
My requirement is such that I want to have a functionality of  Column Menu  but without having title 'Column' .
As you can see in this link It has a liitle button in shipCity Column.I want to have that Button and when I click that button it will just show me the column names that I want to hide/show. So basically it is a functionality of "Column Menu" but rather then showing in a subMenu manner ,I want to show those Columns of the Grid to be hide/show directly in menu. 

http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/headercontextfiltermenu/defaultcs.aspx

1 Answer, 1 is accepted

Sort by
0
Antonio Stoilkov
Telerik team
answered on 29 Feb 2012, 10:19 AM
Hi Dharitri,

You could place button inside the column by following the demo. However, note that showing only the Columns menu is not supported by default. You could achieve your scenario by implementing custom menu that toggles the columns visibility using the RadGrid client-side API.

Kind regards,
Antonio Stoilkov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Tina
Top achievements
Rank 1
Answers by
Antonio Stoilkov
Telerik team
Share this question
or