Using Nested Model Properties

2 posts, 0 answers
  1. Michael
    Michael avatar
    3 posts
    Member since:
    Jan 2017

    Posted 22 Jun 2017 Link to this post

    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!

  2. Stefan
    Admin
    Stefan avatar
    2915 posts

    Posted 26 Jun 2017 Link to this post

    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 visualization (charts) and form elements.
Back to Top