Hi
I have a requirement for providing user with the option to hide/unhide the grid columns (like excel columns).
How can I implement the requirement also how could I provide buttons in columns headers to handle the show/hide feature?
Regards
Sonu
I have a requirement for providing user with the option to hide/unhide the grid columns (like excel columns).
How can I implement the requirement also how could I provide buttons in columns headers to handle the show/hide feature?
Regards
Sonu
4 Answers, 1 is accepted
0
Hello,
You can check this demo for more info.
Sincerely yours,
Vlad
the Telerik team
You can check this demo for more info.
Sincerely yours,
Vlad
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0

saw
Top achievements
Rank 1
answered on 31 Jul 2014, 08:29 AM
Hi,
I had go through your provided DEMO and "ColumnChooser" example code. but, what i exactly wanted is when user click left top grid header, selection (List box menu) menu to populate and choose what column he need to be hide/show. Not separate out side grid list box.
I had go through your provided DEMO and "ColumnChooser" example code. but, what i exactly wanted is when user click left top grid header, selection (List box menu) menu to populate and choose what column he need to be hide/show. Not separate out side grid list box.
0

saw
Top achievements
Rank 1
answered on 01 Aug 2014, 02:57 AM
This link will guide you through overcoming the problem
WPF & silverlight
WPF & silverlight
0
Hello Shalin,
In order to place a button in the top left corner (the GridViewHeaderRow indicator) you will need to edit the ControlTemplate of the GridViewHeaderRow. In it you should replace the inner Border which is under the Border with x:Name="PART_IndicatorPresenter".
Also, I attached a sample project that demonstrates the suggested approach. In addition you can check the ControlPanel online demo.
Please let us know if this helps.
Regards,
Boris Penev
Telerik
In order to place a button in the top left corner (the GridViewHeaderRow indicator) you will need to edit the ControlTemplate of the GridViewHeaderRow. In it you should replace the inner Border which is under the Border with x:Name="PART_IndicatorPresenter".
Also, I attached a sample project that demonstrates the suggested approach. In addition you can check the ControlPanel online demo.
Please let us know if this helps.
Regards,
Boris Penev
Telerik
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.