title: creating dynamic table with data from odata service in ui5
body: <p>I'm a complete newb on sap ui5.</p>
  
  <p>I'm trying to generating a table on my webpage generated in sap web ide.
  The data for this table is a .json file accessed via odata service.</p>
  
  <p>I've come this far:</p>
  
  <p>oModel is generated:</p>
  
  <pre><code>function initModel() {
      var sUrl = "/sap/opu/odata/sap/ZGWS_someService/CollectionSet?$format=json";
      var oModel = new sap.ui.model.odata.ODataModel(sUrl, true);
      sap.ui.getCore().setModel(oModel);
  }
  </code></pre>
  
  <p>now I want to generate a table on my html site with the data in the .json file.
  So I have to create columns based on the properties of the items and then filling the rows with the current data.</p>
  
  <p>.json looks like this:</p>
  
  <pre><code>{
  "d": {
  "results": [
  {
  "property1": "123",
  "property2": "346"
  },
  {
  "property1": "123",
  "property2": "555"
  }
  </code></pre>
  
  <p>I have no solution for this yet - can you help me out?</p>
  
  <p>greetz,
  simon</p>