Problems with hierarchical DataSource

1 posts, 0 answers
  1. Roland
    Roland avatar
    17 posts
    Member since:
    Aug 2012

    Posted 22 Oct 2012 Link to this post

    Hi

    I have problem with hierarchical data within the datasource. As a trivial example I have the following data:

    var data [{
        id1,
        firstName"Alex",
        positions[{
            address{
                street"somewhere"
            }
        }]
    }];

    in which the parent (firstName, id) should be shown inside a Grid and the Children (positions) inside the popup dialog. Now if I bind that it's not possible to show the street as a template #=address.street# 

    How can I define a hierarchical DataSource and how can i define a hierarchical schema (to use the validation) 

    Here I have a JSFiddle to reproduce my problem

    Thanks in advance

Back to Top