This is a migrated thread and some comments may be shown as answers.
HierarchicalDataSource _flatData dont'work
1 Answer 35 Views
This is a migrated thread and some comments may be shown as answers.
Juan Carlos
Top achievements
Rank 1
Juan Carlos asked on 02 Aug 2012, 10:12 PM
Hi:

productsSource = new kendo.data.HierarchicalDataSource({
                                data: [
                                    { text: "Furniture", id:"1", items: [
                                        { text: "Tables & Chairs", id:"11"},
                                        { text: "Sofas", id:"12"},
                                        { text: "Occasional Furniture", id:"13"}
                                    ] },
                                    { text: "Decor", id:"2", items: [
                                        { text: "Bed Linen", id:"21"},
                                        { text: "Curtains & Blinds", id:"22"},
                                        { text: "Carpets", id:"23"}
                                    ] }
                                ]
                        }),  

only return:

text: "Furniture", id:"1" 
text: "Decor", id:"2" 

then:

getByUid don't see


  { text: "Tables & Chairs", id:"11"},
  { text: "Sofas", id:"12"},
  { text: "Occasional Furniture", id:"13"} 

 { text: "Bed Linen", id:"21"},
{ text: "Curtains & Blinds", id:"22"},
 { text: "Carpets", id:"23"} 

thank's



1 Answer, 1 is accepted

Sort by
0
Kyle
Top achievements
Rank 1
answered on 13 Aug 2012, 02:06 PM
I would like to know how to get this working as well. Any suggestions?
Asked by
Juan Carlos
Top achievements
Rank 1
Answers by
Kyle
Top achievements
Rank 1
Share this question
or