<ag-grid-angular #myGrid [class]="gridThemeClass" [pagination]="true" [suppressPaginationPanel]="true"
  [suppressPaginationPanel]="true" [suppressScrollOnNewData]="true" [paginationPageSize]="pageSize"
  [defaultColDef]="defaultColDef" [rowData]="rowData" [columnDefs]="columnDefs">
</ag-grid-angular>

<br />
<!-- 分页 -->
<div class="grid-pagination">
  <div class="page-total-style">共 {{ pageRowTotal }} 项数据</div>
  <nz-pagination [nzPageIndex]="pageIndex" [nzPageSize]="pageSize" [nzTotal]="pageRowTotal"
    (nzPageSizeChange)="nzPageSizeChange($event)" (nzPageIndexChange)="nzPageIndexChange($event)"
    [className]="paginationThemeClass" nzShowSizeChanger />
</div>