@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
|
@@ -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.
|
|
16658
|
+
this.rowCount = this.gridApi.paginationGetRowCount();
|
|
16665
16659
|
this.setRowsDisplayRange(this.pageNumbersDisplay.currentPage);
|
|
16666
16660
|
this.cdr.detectChanges();
|
|
16667
16661
|
};
|