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

Using Nested Model Properties

1 Answer 356 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 22 Jun 2017, 07:34 AM

Hi guys,

is this nested properties approach with using the"from" property in schema -> model -> fields fully supported or just some kind of workaround respectively a deprecated approach? Because we can't find any detailed documentation about this feature.

Are there any limitations with any of the crud operations? Will kendo send a nested object during the update process?

Thanks in advance!

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 26 Jun 2017, 06:02 AM
Hello Michael,

In general, when working with nested properties we can recommend using the schema.parse property of the DataSource to parse the nested fields. Then when CRUD operations are used, the transport.parameterMap property can be used to modify the request sent to the server if needed:

http://docs.telerik.com/kendo-ui/api/javascript/data/datasource#configuration-schema.parse

http://docs.telerik.com/kendo-ui/api/javascript/data/datasource#configuration-transport.parameterMap

Let me know if you need additional information on this matter.

Regards,
Stefan
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data (charts) and form elements.
Tags
Grid
Asked by
Michael
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or