Can I add a ContextMenu to the HeaderRow of my GridView?

2 posts, 0 answers
  1. koala
    koala avatar
    6 posts
    Member since:
    Apr 2015

    Posted 12 Oct 2015 Link to this post

    I have a GridView with an ContextMenu to show/hide the columns. The ContextMenu opens always if I do a right-click in the rows or the header. Unfortunately I have some Controls in my Grid with its own ContextMenu which never opens.

    Is there a safe way to add the ContextMenu for the HeaderRow?

    I need the same functionality for a TreeList. 

     

    Thanks

  2. Stefan X1
    Admin
    Stefan X1 avatar
    514 posts

    Posted 15 Oct 2015 Link to this post

    Hi Koala,

    For achieving this, I suggest you taking a look at the Use RadContextMenu with a RadGridView help topic and particularly at the Display Different items depending on which part of RadGridView is clicked section.
    The approach for RadTreeListView would be basically the same.

    I hope this helps.

    Regards,
    Stefan X1
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top