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

ID for aggregate cell

2 Answers 47 Views
PivotGrid
This is a migrated thread and some comments may be shown as answers.
Jacky
Top achievements
Rank 1
Jacky asked on 22 Aug 2014, 06:25 AM
Supposingly I would like to bind ID to each of the aggregate cell and retreive it for later usage using View Model, how could it be done.

I understand that there are row group description, column group description and aggregate description to bind property directly,
but i couldn't find ways to bind id to aggregate cell and ways to retrieve it

2 Answers, 1 is accepted

Sort by
0
Jacky
Top achievements
Rank 1
answered on 22 Aug 2014, 09:34 AM
Extra Note:
I have four data, namely : id, week, student and score
Row Group Property = "week"
Column Group Property = "student"
Aggregate Property = "score"

how could i bind id to each of the aggregate cell and retrieve it?
Perhaps there is something like aggregate id property that i miss out?
0
Kalin
Telerik team
answered on 22 Aug 2014, 03:09 PM
Hi Jacky,

The PivotGrid is designed to display aggregated and grouped values of the underlying data not the data itself. So you won't be able to see any particular values from the data source in the PivotGrid as the cells are associated with a aggregated values of few items from the ItemsSource. You might want to check the GridView control which also supports grouping and filtering and each cell there is associated with a particular property of  particular item from the ItemsSource.

Hope this helps.

Regards,
Kalin
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
PivotGrid
Asked by
Jacky
Top achievements
Rank 1
Answers by
Jacky
Top achievements
Rank 1
Kalin
Telerik team
Share this question
or