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
    Admin
    Kalin avatar
    1208 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:
    https://github.com/telerik/xaml-sdk/tree/master/PivotGrid/CustomContextMenuBehavior

    However you would need to manually implement that logic.

    Hope this helps.

    Regards,
    Kalin
    Telerik
     

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

     
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top