Hiding columns in grid and column chooser

4 posts, 1 answers
  1. Michael
    Michael avatar
    11 posts
    Member since:
    Dec 2007

    Posted 09 Oct 2008 Link to this post

    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.
  2. Answer
    erwin
    erwin avatar
    358 posts
    Member since:
    Dec 2006

    Posted 09 Oct 2008 Link to this post

    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
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Nick
    Admin
    Nick avatar
    767 posts

    Posted 10 Oct 2008 Link to this post

    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.
  5. Michael
    Michael avatar
    11 posts
    Member since:
    Dec 2007

    Posted 13 Oct 2008 Link to this post

    Thanks that worked perfectly.
Back to Top