当我调整p对话框的大小时,不会在ng对话框中的ag网格调整大小

时间:2019-02-14 04:42:15

标签: angular6

我在启动对话框中有一个网格。当我调整固定在其位置的对话框网格的大小时,html模板为:

<p-dialog>
  <div class="container-fluid" [hidden]="false" style="width:1400px; padding-bottom: 0px !important;">
    <ag-grid-angular [enableColResize]="true" class="ag-theme-dark event-grid-style" style="width: 100%; height: 500px !important;" [gridOptions]="abc" (gridReady)="abc($event)" appendTo="body"></ag-grid-angular>
    <div style="margin-top:2px;">
      <ng-container *ngIf="showPagination" class="mrgn-top">
        <ng-pagination class="pull-right cursor-pointer" [paginate_data]="paginationData" (paginate)="paginate($event)"></ng-pagination>
      </ng-container>
    </div>
  </div>
</p-dialog>

0 个答案:

没有答案