title: Can't refresh data in p-table after deleting row ( PrimeNg )
body: <blockquote>
    <p>I m using primeng 8.1 with angular 8 <br>
      I refer my p-table with #dt then i call dt.reset() and getcandidates() to refresh<br>
    But it shows first page of p-table without refreshing list i searched in official 
        documentation but 
        i don't find a solution so the only way to refresh data is to reload entire navigator page  </p>
  </blockquote>
  
  <pre><code>&lt;p-table #dt  
  [paginator]="true"
  [columns] = "cols"
  [value]="listcandidats"
  [totalRecords]="listcandidats.length"
  [paginator]="true"
  [rows]="5"
  [style.top.px]="screenHeight/6"
  &gt;
  
  &lt;ng-template pTemplate="caption"&gt;
  &lt;div style="text-align: right"&gt;        
      &lt;i class="fa fa-search" style="margin:4px 4px 0 0"&gt;&lt;/i&gt;
      &lt;input type="text" pInputText size="50" placeholder="Recherche multioption" 
  (input)="dt.filterGlobal($event.target.value, 'contains')" style="width:auto"&gt;
  &lt;/div&gt;
  &lt;/ng-template&gt;
  &lt;ng-template pTemplate="header" let-columns&gt;
      &lt;tr&gt;
      &lt;th&gt;Candidat&lt;/th&gt;
  
     &lt;th&gt;Action&lt;/th&gt;
      &lt;/tr&gt;
  
  
  &lt;/ng-template&gt;
  &lt;ng-template  pTemplate="body" let-rowData &gt;
      &lt;tr [pSelectableRow]="rowData" &gt;
  
  
        &lt;td [style.width.px]="screenWidth/8"&gt; &lt;h3&gt;{{rowData.nom}}&lt;/h3&gt;&lt;/td&gt;
  
  
          &lt;td&gt;
       &lt;button pButton type="button" label="modifier" (click)="showDialog(rowData.id)" class="ui- 
       button-rounded ui-button-warning"&gt;
      &lt;/button&gt;
  
      &lt;button pButton type="button" label="supprimer" 
      (click)="deletecandidat(rowData.id);dt.reset();getcandidats()" class="ui-button-rounded ui- 
      button-danger"&gt;&lt;/button&gt;
          &lt;/td&gt;
  
      &lt;/tr&gt;
      &lt;hr [style.width.px]="screenWidth"&gt;
     &lt;/ng-template&gt;
  
  
     &lt;/p-table&gt;
  </code></pre>