title: ag-Grid Export To CSV not showing correct filename
body: <p>I am writing code in Typescript using Angular 2 and ag-Grid (not enterprise version).</p>
  
  <p>I am having a problem with the export functionality of ag-Grid and was hoping someone could help.</p>
  
  <p>With just one Grid on the form I can export without any problems.  When I introduce a second grid I can also export but the file filename is not correct (it defaults to export.csv).</p>
  
  <p>Here is some example code.  </p>
  
  <p>Note that in the html I set: </p>
  
  <p>[gridReady] = "onGridReadyTest1($event)" <strong>for the first grid</strong> </p>
  
  <p>[gridReady] = "onGridReadyTest2($event)" <strong>for the second grid</strong> </p>
  
  <p>public gridApiTest1;
  public gridApiTest2;
   ...</p>
  
  <pre><code>onGridReadyTest1(params){
    this.gridApiTest1 = params.api;
  }
  
  onGridReadyTest2(params){
    this.gridApiTest2 = params.api;
  }
  </code></pre>
  
  <p>btnClickExportTest1 = function () {</p>
  
  <pre><code>   var params = {
       skipHeader: false,
       skipFooters: true,
       allColumns: true,
       onlySelected: false,
       suppressQuotes: true,
       filename: 'test1.csv',
       columnSeparator: ','
     };
  
     this.gridApiTest1.exportDataAsCsv(params);
  </code></pre>
  
  <p>}</p>
  
  <p>btnClickExportTest2 = function () {</p>
  
  <pre><code>   var params = {
       skipHeader: false,
       skipFooters: true,
       allColumns: true,
       onlySelected: false,
       suppressQuotes: true,
       filename: 'test2.csv',
       columnSeparator: ','
     };
     this.gridApiTest2.exportDataAsCsv(params);
  </code></pre>
  
  <p>}</p>
  
  <p>As I mentioned, the export actually works with the correct data from the relevant grid.  Its just the filename is correct for the first grid and incorrect for the second (export.csv)?</p>
  
  <p>What I am doing wrong?  Any help would be appreciated.</p>
  
  <p>Thanks</p>