ColumnChooser for GridView in a TabControl

4 posts, 0 answers
  1. Dmitry
    Dmitry avatar
    2 posts
    Member since:
    Dec 2014

    Posted 04 Mar 2015 Link to this post

    Hello,

    I have a RadTabControl. Inside every tab there is a UserControl with RadGridView. I want to add a RadDropDownButton with Column Chooser for the GridViews. Like this: http://docs.telerik.com/devtools/wpf/controls/radgridview/how-to/show-hide-columns-outside-of-the-radgridview.html I tried placing it in RadGridView.ControlPanelItems and everything works fine, but it takes a whole row for just one control. Can I put it in RadTabControl.AdditionalContent? How should I bind the Columns property right?
  2. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 05 Mar 2015 Link to this post

    Hi,

    I cannot understand what is the issue that you encounter when you try to host that column selector in the ControlPanelItems section of the RadGridView? If you set only one item it is expected the control to visualize only one button in all the available space.

    You can find SDK example demonstrating how this panel can be used to host more than one item. Please take a look at it and let us know if you need any further assistance.

    Regards,
    Pavel R. Pavlov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for WPF is Visual Studio 2017 Ready
  4. Dmitry
    Dmitry avatar
    2 posts
    Member since:
    Dec 2014

    Posted 05 Mar 2015 in reply to Pavel R. Pavlov Link to this post

    Thank you for your reply. There is no issue. I find it inconvenient. Can I avoid using ControlPanel and place my Column  Chooser in RadTabControl.AdditionalContent?
  5. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 09 Mar 2015 Link to this post

    Hello,

    To achieve your requirement you can take a look at the approach demonstrated in our Column Chooser GitHub example.

    Regards,
    Pavel R. Pavlov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top