ID for aggregate cell

3 posts, 0 answers
  1. Jacky
    Jacky avatar
    4 posts
    Member since:
    Aug 2014

    Posted 22 Aug 2014 Link to this post

    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. Jacky
    Jacky avatar
    4 posts
    Member since:
    Aug 2014

    Posted 22 Aug 2014 in reply to Jacky Link to this post

    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?
  3. UI for WPF is Visual Studio 2017 Ready
  4. Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 22 Aug 2014 Link to this post

    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.
     
Back to Top