数据可视化大屏
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.5KB

  1. <!-- <label class="custom-label">Your Label</label> -->
  2. <lj-data-v-card
  3. [showEditButton]="showEditButton"
  4. [showSetting]="showSetting"
  5. nz-col
  6. nzSpan="24"
  7. nzXs="24"
  8. nzSm="24"
  9. nzMd="12"
  10. nzLg="12"
  11. nzXl="12"
  12. nzXXl="12"
  13. title="{{ title }}"
  14. >
  15. <!-- style="min-width: 500px" -->
  16. <ag-grid-angular
  17. #myGrid
  18. [ngStyle]="{ height: heightNum == 0 ? 'none' : heightNum + 'rem', flex: heightNum == 0 ? '1' : 'none' }"
  19. class="ag-theme-quartz ag-theme-acmecorp"
  20. [suppressPaginationPanel]="true"
  21. domLayout="print"
  22. [suppressPaginationPanel]="true"
  23. [suppressScrollOnNewData]="true"
  24. [paginationAutoPageSize]="true"
  25. [paginationPageSize]="pageSize"
  26. [paginationPageSizeSelector]="paginationPageSizeSelector"
  27. [pagination]="true"
  28. [defaultColDef]="defaultColDef"
  29. [gridOptions]="gridOptions"
  30. domLayout="autoHeight"
  31. (gridSizeChanged)="onGridSizeChanged($event)"
  32. (gridReady)="onGridReady($event)"
  33. />
  34. <!-- <app-data-v-lj-table [columns]="tableColumns" [data]="tableData" /> -->
  35. <br />
  36. <!-- 分页 -->
  37. <div [hidden]="!showPageTurning" class="grid-pagination">
  38. <div class="page-total-style">共 {{ pageRowTotal }} 项数据</div>
  39. <nz-pagination
  40. [nzPageIndex]="pageIndex"
  41. [nzPageSize]="pageSize"
  42. [nzTotal]="pageRowTotal"
  43. [className]="paginationThemeClass"
  44. (nzPageSizeChange)="nzPageSizeChange($event)"
  45. (nzPageIndexChange)="nzPageIndexChange($event)"
  46. nzShowSizeChanger
  47. />
  48. </div>
  49. </lj-data-v-card>