HierarchicalDataSource _flatData dont'work

2 posts, 0 answers
  1. Juan Carlos
    Juan Carlos avatar
    1 posts
    Member since:
    Jul 2012

    Posted 02 Aug 2012 Link to this post

    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



  2. Kyle
    Kyle avatar
    16 posts
    Member since:
    Apr 2012

    Posted 13 Aug 2012 Link to this post

    I would like to know how to get this working as well. Any suggestions?
Back to Top