title: how to bind sap.ui.Table.TreeTable columns to different type of data
body: <p>I have a sap.ui.Table.TreeTable in sapui5 and want to bind the first column to item and want to display the array of items in second column of each row.</p>
  
  <pre><code> var table = [
                 {item:1, items:[{sceondItem:1},{sceondItem:2},{sceondItem:3}]},
                 {item:2, items:[{sceondItem:1},{sceondItem:2},{sceondItem:3}]}
          ];
          var oModel = new sap.ui.model.json.JSONModel();
          oModel.setData({"modelData":table});
          table.setModel(oModel);
          table.bindRows("/modelData");
  </code></pre>