Reference Child Object

2 posts, 0 answers
  1. Jamie
    Jamie avatar
    1 posts
    Member since:
    Feb 2017

    Posted 23 Apr 2017 Link to this post

    I have a report with a group section and then a table on in the details, linked by a defined field.  I want to use values from the table in expressions in the Group Header.  For example in the table I have a count for the number of rows.  I want to then display this value in the group header.  I want to then also use this value to determine if a field appears in the header or not.  Is this possible?  Any other suggestions on how to achieve this?  Thanks
  2. Stef
    Stef avatar
    3610 posts

    Posted 25 Apr 2017 Link to this post

    Hi Jamie,

    Data displayed by nested data is not accessible on upper levels - Data Scope.

    Instead you can have data on the upper level, and then bind the nested Table item to the container's data object via expression - Use DataObject as a datasource for nested data items (Table, List, Crosstab, Graph).
    You can also use a data model that exposes properties with custom getters and collection properties which you can use as data source for nested Data items and calculations in the report - How to Databind to Collection Properties.

    I hope this helps.

    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top