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

Problems with hierarchical DataSource

0 Answers 67 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
Roland
Top achievements
Rank 1
Roland asked on 22 Oct 2012, 11:32 AM
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

No answers yet. Maybe you can help?

Tags
Data Source
Asked by
Roland
Top achievements
Rank 1
Share this question
or