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

Reference Child Object

1 Answer 281 Views
Report Designer (standalone)
This is a migrated thread and some comments may be shown as answers.
Jamie
Top achievements
Rank 1
Jamie asked on 24 Apr 2017, 01:50 AM
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

1 Answer, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 25 Apr 2017, 04:39 PM
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.

Regards,
Stef
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
Tags
Report Designer (standalone)
Asked by
Jamie
Top achievements
Rank 1
Answers by
Stef
Telerik team
Share this question
or