@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.
- package/bundles/datorama-core.umd.js +2 -8
- package/bundles/datorama-core.umd.js.map +1 -1
- package/bundles/datorama-core.umd.min.js +2 -2
- package/bundles/datorama-core.umd.min.js.map +1 -1
- package/datorama-core.metadata.json +1 -1
- package/esm2015/lib/grid-v2/grid/grid-v2.config.js +2 -2
- package/esm2015/lib/grid-v2/grid-controller/grid-controller.component.js +1 -7
- package/esm2015/lib/grid-v2/grid-pagination/grid-pagination.component.js +2 -2
- package/esm5/lib/grid-v2/grid/grid-v2.config.js +2 -2
- package/esm5/lib/grid-v2/grid-controller/grid-controller.component.js +1 -7
- package/esm5/lib/grid-v2/grid-pagination/grid-pagination.component.js +2 -2
- package/fesm2015/datorama-core.js +2 -8
- package/fesm2015/datorama-core.js.map +1 -1
- package/fesm5/datorama-core.js +2 -8
- package/fesm5/datorama-core.js.map +1 -1
- package/package.json +1 -1
package/fesm5/datorama-core.js
CHANGED
|
@@ -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,
|
|
@@ -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.
|
|
16459
|
+
this.rowCount = this.gridApi.paginationGetRowCount();
|
|
16466
16460
|
this.setRowsDisplayRange(this.pageNumbersDisplay.currentPage);
|
|
16467
16461
|
this.cdr.detectChanges();
|
|
16468
16462
|
};
|