title: How to load data in to rowData in ag-grid?
body: <p>I have the following code in my html-class:</p>
  
  <pre><code>&lt;ag-grid-aurelia #agGrid class="ag-theme-balham" style="width: 100%; height: 350px;" #agGrid  grid-ready.call="onGridReady()"
                               grid-options.bind="filesThatAreMalwareOptions"&gt;
  
                  &lt;ag-grid-column header-name="date" field="date" width.bind="300"&gt;&lt;/ag-grid-column&gt;
                  &lt;ag-grid-column header-name="fileHash" field="fileHash" width.bind="300"&gt;&lt;/ag-grid-column&gt;
                  &lt;ag-grid-column header-name="fileName" field="fileName" width.bind="300"&gt;&lt;/ag-grid-column&gt;
                  &lt;ag-grid-column header-name="fileSize" field="fileSize" width.bind="300"&gt;&lt;/ag-grid-column&gt;
                  &lt;ag-grid-column header-name="mimeType" field="mimeType" width.bind="300"&gt;&lt;/ag-grid-column&gt;
                  &lt;ag-grid-column header-name="Malware" field="Malware" width.bind="300"&gt;&lt;/ag-grid-column&gt;
                  &lt;ag-grid-column header-name="Virustotal-Link" field="Virustotal-Link" width.bind="300"&gt;&lt;/ag-grid-column&gt;
  &lt;/ag-grid-aurelia&gt;
  </code></pre>
  
  <p>And the following code in my TypeScript-class:</p>
  
  <pre><code>filesThatAreMalwareOptions:GridOptions = {
        rowData:  []      
      };
  </code></pre>
  
  <pre><code>getValueFromRequest(queryEndpoint){
          this.http
              .fetch(queryEndpoint, {
                  mode: "cors"
              })
              .then(result =&gt; result.json()
              ).then(body =&gt; {
              if (queryEndpoint == "TestFileData"){
                  this.filesThatAreMalwareOptions.rowData = JSON.parse(body);
              }
              });
  </code></pre>
  
  <p>If I want to load the data from the endpoint of my service the gird display "No rows to show". If I hardcode the rowData like:</p>
  
  <pre><code>filesThatAreMalwareOptions:GridOptions = {
        rowData:  [ {date: '02.04.1990', fileHash: 'X', fileName: 'X', fileSize: 3245, mimeType: 'PDF'}]
  };
  
  </code></pre>
  
  <p>The data is displayed in the grid. Where is the problem with loading the data from the service?</p>