We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Complex object with multi-level-nesting as datasoure for Report

Is it possible to prepare report that bases on object that contains multi-level-nesting.

As a example I propose real-estate insurance policy that contains some data-fields (number, effective period etc.) and collection of insured buildings. Every building contains also some data-fields (address, description, is it easy-flamable, how many floods have occurred in its area etc.) and it contains list of risks. Every risk is a simple data-object that contains code, name, sum insured value etc.

1 Reply

VS Vinoth Srinivasan Syncfusion Team March 23, 2017 12:20 PM UTC

Hi Wojciech, 
Thanks for contacting Syncfusion Support. 
It is possible to use nested object fields in our report viewer by using expressions (=Fields.NestedObjectPropertyName.PropertyName). 
We have prepared a simple sample using nested object datasource and it can be downloaded from the following location. 
Note: We could not find the nested fields details in designer. It can be used only by the nested object fields in expression. 
Vinoth S. 

Live Chat Icon For mobile
Up arrow icon