@datorama/core 22.13.0-beta.5 → 22.13.0-beta.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13794,7 +13794,7 @@
13794
13794
  _a$3[exports.DatoGridColumnTypes.ItemsCount] = __assign(__assign({}, stringColDef), { cellRenderer: 'DatoGridItemsCountCellComponent' }),
13795
13795
  _a$3[exports.DatoGridColumnTypes.Initials] = __assign(__assign({}, stringColDef), { cellRenderer: 'DatoGridInitialsCellComponent' }),
13796
13796
  _a$3[exports.DatoGridColumnTypes.Avatar] = __assign(__assign({}, stringColDef), { cellRenderer: 'DatoGridAvatarCellComponent' }),
13797
- _a$3), multiSortKey: 'ctrl', suppressPaginationPanel: true, pagination: true, deltaColumnMode: true, loadingOverlayComponentFramework: DatoGridV2LoaderComponent, noRowsOverlayComponentFramework: DatoGridV2NoDataOverlayComponent, defaultColDef: {
13797
+ _a$3), multiSortKey: 'ctrl', suppressPaginationPanel: true, pagination: true, paginateChildRows: true, deltaColumnMode: true, loadingOverlayComponentFramework: DatoGridV2LoaderComponent, noRowsOverlayComponentFramework: DatoGridV2NoDataOverlayComponent, defaultColDef: {
13798
13798
  minWidth: exports.GridMinWidths.Default,
13799
13799
  sortable: true,
13800
13800
  resizable: true,
@@ -15819,12 +15819,6 @@
15819
15819
  });
15820
15820
  };
15821
15821
  DatoGridControllerComponent.prototype.normalizeOptions = function () {
15822
- /**
15823
- * When treeData is enabled, Pagination must be turned off
15824
- */
15825
- if (this.gridOptions.treeData) {
15826
- this.gridOptions = __assign(__assign({}, this.gridOptions), { pagination: false });
15827
- }
15828
15822
  var params = {
15829
15823
  gridOptions: this.gridOptions,
15830
15824
  customHeadersTemplates: this.customHeadersTemplates,
@@ -16661,7 +16655,7 @@
16661
16655
  */
16662
16656
  DatoGridPaginationV2Component.prototype.calculateRowsCount = function (totalRows) {
16663
16657
  this.totalPages = totalRows ? Math.ceil(totalRows / this.rowsPerPage) : this.gridApi.paginationGetTotalPages();
16664
- this.rowCount = this.gridApi.getDisplayedRowCount();
16658
+ this.rowCount = this.gridApi.paginationGetRowCount();
16665
16659
  this.setRowsDisplayRange(this.pageNumbersDisplay.currentPage);
16666
16660
  this.cdr.detectChanges();
16667
16661
  };