I Have a List, inside a List, than i have my values.
Follow the Images:
I already configure my Endpoint to receive all the values, when i configure the dataSource and download the sample, i already have the values, according in the Picture 1.
Now i cannot access the values that i have.
2 Answers, 1 is accepted
0
Dimitar
Telerik team
answered on 14 Sep 2021, 08:40 AM
Hello Ivone,
If I understand correctly, you would like to access the nested list's properties, is that correct?
In order to be able to use hierarchical data, you can take advantage of the Bindings functionality. Using it, you can bind declaratively the data item's DataSource property to a given collection property from your business object and the data item will display all collection items.
Please let me know if you have any other questions or need further assistance.
Regards,
Dimitar
Progress Telerik
Brand new Telerik Reporting course in Virtual Classroom - the free self-paced technical training that gets you
up to speed with Telerik and Kendo UI products. Check it out at https://learn.telerik.com/.
I try to do what you sad, but its not possible, the data are blank. Btw, that article was very incomplete.
Dimitar
Telerik team
commented on 17 Sep 2021, 02:21 PM
Could you please send us a sample report alongside some sample data to inspect locally what could be the problem?
Note that after you bind the data itemDataSource property, you only need to say the field name in the expression. For example, to display the value of the id field after an item has been bound to the $values field, you may simply use the following expression: = Fields.id
Keep in mind that the data of the $values field is available only to the bound item scope. For example, if you bind a List report item to that field, you cannot display any of the $values fields outside the list item.
It is also possible to display certain items from a list/array field through the item function which returns the element of the collection with the given index (zero-based).