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

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.
@@ -13595,7 +13595,7 @@ var defaultGridOptions = __assign({
13595
13595
  _a$3[DatoGridColumnTypes.ItemsCount] = __assign(__assign({}, stringColDef), { cellRenderer: 'DatoGridItemsCountCellComponent' }),
13596
13596
  _a$3[DatoGridColumnTypes.Initials] = __assign(__assign({}, stringColDef), { cellRenderer: 'DatoGridInitialsCellComponent' }),
13597
13597
  _a$3[DatoGridColumnTypes.Avatar] = __assign(__assign({}, stringColDef), { cellRenderer: 'DatoGridAvatarCellComponent' }),
13598
- _a$3), multiSortKey: 'ctrl', suppressPaginationPanel: true, pagination: true, deltaColumnMode: true, loadingOverlayComponentFramework: DatoGridV2LoaderComponent, noRowsOverlayComponentFramework: DatoGridV2NoDataOverlayComponent, defaultColDef: {
13598
+ _a$3), multiSortKey: 'ctrl', suppressPaginationPanel: true, pagination: true, paginateChildRows: true, deltaColumnMode: true, loadingOverlayComponentFramework: DatoGridV2LoaderComponent, noRowsOverlayComponentFramework: DatoGridV2NoDataOverlayComponent, defaultColDef: {
13599
13599
  minWidth: GridMinWidths.Default,
13600
13600
  sortable: true,
13601
13601
  resizable: true,
@@ -15096,8 +15096,8 @@ var GridService = /** @class */ (function () {
15096
15096
  * Refer docs - https://www.ag-grid.com/angular-data-grid/cell-styles/#cell-class-rules */
15097
15097
  GridService.prototype.getPivotModeCellClassRules = function () {
15098
15098
  return {
15099
- 'primary-0-background-color': this.isLeafGroupEvenCell.bind(this),
15100
- 'primary-100-background-color pointer dato-simple-bold': this.isRowGroupValuedCell.bind(this)
15099
+ 'even-row-group-leaf-cell': this.isLeafGroupEvenCell.bind(this),
15100
+ 'row-group-root-cell': this.isRowGroupValuedCell.bind(this)
15101
15101
  };
15102
15102
  };
15103
15103
  GridService.prototype.isLeafGroupEvenCell = function (params) {
@@ -15620,12 +15620,6 @@ var DatoGridControllerComponent = /** @class */ (function () {
15620
15620
  });
15621
15621
  };
15622
15622
  DatoGridControllerComponent.prototype.normalizeOptions = function () {
15623
- /**
15624
- * When treeData is enabled, Pagination must be turned off
15625
- */
15626
- if (this.gridOptions.treeData) {
15627
- this.gridOptions = __assign(__assign({}, this.gridOptions), { pagination: false });
15628
- }
15629
15623
  var params = {
15630
15624
  gridOptions: this.gridOptions,
15631
15625
  customHeadersTemplates: this.customHeadersTemplates,
@@ -16462,7 +16456,7 @@ var DatoGridPaginationV2Component = /** @class */ (function () {
16462
16456
  */
16463
16457
  DatoGridPaginationV2Component.prototype.calculateRowsCount = function (totalRows) {
16464
16458
  this.totalPages = totalRows ? Math.ceil(totalRows / this.rowsPerPage) : this.gridApi.paginationGetTotalPages();
16465
- this.rowCount = this.gridApi.getDisplayedRowCount();
16459
+ this.rowCount = this.gridApi.paginationGetRowCount();
16466
16460
  this.setRowsDisplayRange(this.pageNumbersDisplay.currentPage);
16467
16461
  this.cdr.detectChanges();
16468
16462
  };