Drop down list for predefined RowGroup, ColumnGroup and Aggregate Descriptions

2 posts, 0 answers
  1. S
    S avatar
    1 posts
    Member since:
    Apr 2018

    Posted 12 Apr 2018 Link to this post

    Hi,

    I want to add a drop down list with predefined RowGroup, ColumnGroup and Aggregate Descriptions to ease switching between different data arrangements via RadPivotFieldList. 

    I tried to check if I can add such descriptions to the filter list example, but I couldn't find the proper namespace for FiltersCollection and FilterItem in my application. Thus they're giving "type not found" errors. In the example they are defined as below.

    ...
            xmlns:local="clr-namespace:Telerik.Windows.Examples.PivotGrid.Common.Filtering"

    ...

            <local:FiltersCollection x:Key="Filters">
                <local:FilterItem DisplayName="&lt;none&gt;" />
                <local:FilterItem DisplayName="The name is in the list: 'Copy holder', 'Glare filter'.">
                    <local:FilterItem.GroupFilter>
                        <pivot:LabelGroupFilter>

    ...

  2. Kalin
    Admin
    Kalin avatar
    1352 posts

    Posted 16 Apr 2018 Link to this post

    Hello,

    The FiltersCollection and FilterItem are not built-in types in the control - they are defined in the WPF demos application. I'm attaching both the classes here, so you can use them in your application.

    Hope this helps.

    Regards,
    Kalin
    Progress Telerik
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Back to Top