title: Refresh ag-grid on Observable subscribe
body: <p><strong>I am struggling to refresh ag-grid on subscription of an observable.</strong></p>
  
  <p>I have following piece of code which works well.</p>
  
  <pre><code>     this.marketConfigs = this._regionProductConfigService.getMarketConfig();              
             this.gridOptions.columnDefs = this.createColumnDefs();
              this.gridOptions.rowData = this.marketConfigs;
  </code></pre>
  
  <p>But since I am trying to put a drop-down in columns of ag-grid, I wanted the column config to be created once we receive data. So I changed the code to following : </p>
  
  <pre><code>this._refDataService.getAllCurrencies().subscribe(
              (data: ICurrency[]) =&gt; {
                  this.financingCurrencies = data;               
                  this.marketConfigs = this._regionProductConfigService.getMarketConfig();              
                  this.gridOptions.columnDefs = this.createColumnDefs();
                 this.gridOptions.rowData = this.marketConfigs;                
                  this.gridOptions.enableColResize = true;
                  this.gridOptions.api.refreshView();
              },
              err =&gt; console.log(err)
          );  
  </code></pre>
  
  <p>But it doesnt show any thing in grid. Can someone help?</p>