Header Context Menu and a Row Context Menu?

4 posts, 0 answers
  1. Gareth Parris
    Gareth Parris avatar
    3 posts
    Member since:
    Sep 2009

    Posted 28 Jul 2010 Link to this post

    Is it possible to have both a Header Context Menu and a Row Context Menu on the same grid?

    I have tried to implement this using the demo code. The row context menu works fine, but when you click on the header row it does not show the Header Context Menu, it still shows the Row Context Menu. If I disable the Row Context Menu the Header Context Menu works okay.

    Is this possible?

    Thanks,
    Gareth.
  2. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 29 Jul 2010 Link to this post

    Hello Gareth,

    Why not use same menu for both headers and rows? You can control what items will have this menu using Opened event. 

    Best wishes,
    Vanya Pavlova
    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
  3. MiroslavStantic
    MiroslavStantic avatar
    42 posts
    Member since:
    Oct 2003

    Posted 07 Oct 2011 Link to this post

    Hi,

    I use grids in my project with header menu from your dem example (one with grouping, printing, exporting, choosing columns etc). On some of my grids I want to add context menu on the row. Once I do that my header context menu is not showing.

    Is it possible to have two sperate context menus on one grid?

    Thanks

    Miroslav
  4. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 07 Oct 2011 Link to this post

    Hi Miroslav Stantic,

    You could try to follow an approach similar to the one described in this forum thread.
     

    Kind regards,
    Maya
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top