This is a migrated thread and some comments may be shown as answers.

Sorting on GrandTotal in PivotGrid.

1 Answer 78 Views
PivotGrid
This is a migrated thread and some comments may be shown as answers.
Harshal
Top achievements
Rank 1
Harshal asked on 01 Aug 2013, 12:22 PM
Hi Team,

I have implemented the PivotGrid on MVVM silverlight project. I want to sort the Grouping under GrandTotal.
I have shown it (what i want to sort) in attached document with red highlighted mark.

Can anybody please tell if there is any functionality available on PivotGrid or telerik is planning to develop it in future.

your quick response is appreciated.

Thanks. 

1 Answer, 1 is accepted

Sort by
0
Rosen Vladimirov
Telerik team
answered on 01 Aug 2013, 04:04 PM
Hello Harshal,

RadPivotGrid can sort the data based on the GrandTotals. You can find more information in our online help. In your case you will have to apply the sorting on the DateTimeGroupDescription:
<pivot:DateTimeGroupDescription PropertyName="Date" Step="Month" SortOrder="Ascending">
    <pivot:DateTimeGroupDescription.GroupComparer>
        <pivot:GrandTotalComparer AggregateIndex="0"/>
    </pivot:DateTimeGroupDescription.GroupComparer>
</pivot:DateTimeGroupDescription>

Please check the mentioned article and inform us in case you have any problems or concerns.

Regards,
Rosen Vladimirov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
PivotGrid
Asked by
Harshal
Top achievements
Rank 1
Answers by
Rosen Vladimirov
Telerik team
Share this question
or