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

Hiding columns in grid and column chooser

5 Answers 361 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 09 Oct 2008, 05:26 PM
Hi, Is there anyway to hide the columns in both the grid as well as the column chooser?  Currently I can hide the columns in the grid, but they show up in the column chooser.  Can probably do it by adding the columns to the grid programmically, but I was wondering if there was a better way.

5 Answers, 1 is accepted

Sort by
0
Accepted
erwin
Top achievements
Rank 1
Veteran
Iron
answered on 09 Oct 2008, 09:36 PM
you can set the VisibleInColumnChooser Property for a column to false.

I aggree, that the naming inconsistencies of

IsVisible
and
VisibleInColumnChooser

are annoying, as IntelliSense is not going to show the two properties together. Would be interesting to know why Telerik came up with Is... properties in the first place, as these do not conform to Microsoft framework naming standards.

regards
erwin
0
Nick
Telerik team
answered on 10 Oct 2008, 12:11 PM
Hi erwin,

Thank you for being honest. We strive to conform to Microsoft's naming conventions and we will consider changing the property name. We will make the old one obsolete first, in order to minimize the amount of breaking changes.  

 
Sincerely yours,
Nick
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Michael
Top achievements
Rank 1
answered on 13 Oct 2008, 04:48 PM
Thanks that worked perfectly.
0
senthil
Top achievements
Rank 1
answered on 14 Apr 2017, 12:38 PM
Is there any option to do the same in WPF application?
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 14 Apr 2017, 01:19 PM
Hello Senthil, 

Thank you for writing.  

I would like to note that this forum is related to the Telerik UI for WinForms suite. Feel free to post your questions in the relevant forum: http://www.telerik.com/forums

I hope this information helps. Should you have further questions I would be glad to help.

Regards,
Dess
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
GridView
Asked by
Michael
Top achievements
Rank 1
Answers by
erwin
Top achievements
Rank 1
Veteran
Iron
Nick
Telerik team
Michael
Top achievements
Rank 1
senthil
Top achievements
Rank 1
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or