Hide field from pivot grid but selectable in pivotfieldlist

2 posts, 0 answers
  1. Swapna
    Swapna avatar
    1 posts
    Member since:
    Mar 2014

    Posted 31 Mar 2015 Link to this post

    I am looking for option similar to 'Hide Field' available in Ajax on a field selected in pivot field list.
    I  want the user to  be able to select a field in the pivotfieldlist. But then have an option to hide it from the pivot grid view.

    At the moment I can hide a field using AutoGenerateField  which hides it completely from both pivotfieldlist and pivotgrid.
  2. Kalin
    Kalin avatar
    1279 posts

    Posted 02 Apr 2015 Link to this post

    Hi Swapna,

    The same functionality can be achieved in PivotGrid for WPF, whenever the desired value is dragged and dropped outside of the FiledList - you can test it in this online demo. However if you need a MenuItem which does the same - you can check the following example from our XAML SDK repository, that demonstrates how to customize the ContextMenu in order to add new MenuItems:

    However you would need to manually implement that logic.

    Hope this helps.


    See What's Next in App Development. Register for TelerikNEXT.

Back to Top