title: PrimeNG Load DataTable after Filter is applied
body: <p>I'm getting the data from the API, and rendering it in <strong>p-table</strong></p>
  
  <p>Right after that I'm triggering the table filtering programmatically (default filter).</p>
  
  <p>The problem I'm facing is that the Table is loaded and rendered without filter, and in few ms later filter is applied, and table re-rendered.</p>
  
  <p>Is there a way to get the event which triggers the loading of Prime Table? Or delay it somehow. </p>
  
  <p>Template:</p>
  
  <pre><code>&lt;p-table #tt class="table"[value]="myList"&gt;
       ....
       &lt;tr&gt;
         &lt;th&gt;
          &lt;p-dropdown appendTo="body" *ngSwitchCase="'state'" [options]="states"
          (onChange)="tt.filter($event.value, 'state', 'equals')"&gt;&lt;/p-dropdown&gt;
         &lt;/th&gt;
       &lt;/tr&gt;
       ....
  &lt;/p-table&gt;
  </code></pre>
  
  <p>Class:</p>
  
  <pre><code>export class Component implements {
      @ViewChild('tt') tt: DataTable;
      myList: any;
  
      getList(){
      Promise.resolve(...)
          .then(res =&gt; {
                  this.myList = res;
                  this.tt.filter('created', 'state', 'equals');
                });
              }
       }
  </code></pre>