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

Display Nested Object Properties

2 Answers 151 Views
DataForm
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Andrew
Top achievements
Rank 1
Andrew asked on 15 Jan 2018, 10:06 PM
I was wondering if it was possible to display nested object properties with the RadDataForm, ideally I would like to create property groups for each nested object in my data model, but setting source="observable$ | async" and retrieving EntityProperties with name="nestedObject.field" doesn't seem to be working. Hope this explains the scenario enough, will provide more if needed! Thanks! :)

2 Answers, 1 is accepted

Sort by
0
Nick Iliev
Telerik team
answered on 16 Jan 2018, 07:50 AM
Hello Andrew,

Binding to the name property of TKEnityProperty using a nested object is not supported scenario.
You can use metadata to create your property groups and entity properties.Examples can be found here (the related examples can be seen in action here - two JSON files are used to load simultaneously source and metadata).
If we need to create groups of editors via metadata file, this can be achieved as done in this example.
Playground application demonstrating the usage of metadata with JSON file can be found here

I hope the provided information will apply to your specific scenario - do let me know if you need further assistance.

Regards,
Nikolay Iliev
Progress Telerik
Did you know that you can open private support tickets which are reviewed and answered within 24h by the same team who built the components? This is available in our UI for NativeScript Pro + Support offering.
0
Nikolay Tsonev
Telerik team
answered on 29 Jan 2018, 12:29 PM
Hi Andrew,

I would like to let you know that we are closing UI for NativeScript Forum section in Telerik Admin in favor of NativeScript forum
Since UI for NativeScript is free for using we consider that the best place for discussions and for questions will be the official NativeScript forum.

Thank you in advance for cooperation.

Regards,
nikolay.tsonev
Progress Telerik
Did you know that you can open private support tickets which are reviewed and answered within 24h by the same team who built the components? This is available in our UI for NativeScript Pro + Support offering.
Tags
DataForm
Asked by
Andrew
Top achievements
Rank 1
Answers by
Nick Iliev
Telerik team
Nikolay Tsonev
Telerik team
Share this question
or