@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
|
@@ -12101,7 +12101,7 @@ const defaultGridOptions = Object.assign({
|
|
|
12101
12101
|
[DatoGridColumnTypes.ItemsCount]: Object.assign(Object.assign({}, stringColDef), { cellRenderer: 'DatoGridItemsCountCellComponent' }),
|
|
12102
12102
|
[DatoGridColumnTypes.Initials]: Object.assign(Object.assign({}, stringColDef), { cellRenderer: 'DatoGridInitialsCellComponent' }),
|
|
12103
12103
|
[DatoGridColumnTypes.Avatar]: Object.assign(Object.assign({}, stringColDef), { cellRenderer: 'DatoGridAvatarCellComponent' })
|
|
12104
|
-
}, multiSortKey: 'ctrl', suppressPaginationPanel: true, pagination: true, deltaColumnMode: true, loadingOverlayComponentFramework: DatoGridV2LoaderComponent, noRowsOverlayComponentFramework: DatoGridV2NoDataOverlayComponent, defaultColDef: {
|
|
12104
|
+
}, multiSortKey: 'ctrl', suppressPaginationPanel: true, pagination: true, paginateChildRows: true, deltaColumnMode: true, loadingOverlayComponentFramework: DatoGridV2LoaderComponent, noRowsOverlayComponentFramework: DatoGridV2NoDataOverlayComponent, defaultColDef: {
|
|
12105
12105
|
minWidth: GridMinWidths.Default,
|
|
12106
12106
|
sortable: true,
|
|
12107
12107
|
resizable: true,
|
|
@@ -13951,12 +13951,6 @@ let DatoGridControllerComponent = class DatoGridControllerComponent {
|
|
|
13951
13951
|
});
|
|
13952
13952
|
}
|
|
13953
13953
|
normalizeOptions() {
|
|
13954
|
-
/**
|
|
13955
|
-
* When treeData is enabled, Pagination must be turned off
|
|
13956
|
-
*/
|
|
13957
|
-
if (this.gridOptions.treeData) {
|
|
13958
|
-
this.gridOptions = Object.assign(Object.assign({}, this.gridOptions), { pagination: false });
|
|
13959
|
-
}
|
|
13960
13954
|
const params = {
|
|
13961
13955
|
gridOptions: this.gridOptions,
|
|
13962
13956
|
customHeadersTemplates: this.customHeadersTemplates,
|
|
@@ -14691,7 +14685,7 @@ let DatoGridPaginationV2Component = class DatoGridPaginationV2Component {
|
|
|
14691
14685
|
*/
|
|
14692
14686
|
calculateRowsCount(totalRows) {
|
|
14693
14687
|
this.totalPages = totalRows ? Math.ceil(totalRows / this.rowsPerPage) : this.gridApi.paginationGetTotalPages();
|
|
14694
|
-
this.rowCount = this.gridApi.
|
|
14688
|
+
this.rowCount = this.gridApi.paginationGetRowCount();
|
|
14695
14689
|
this.setRowsDisplayRange(this.pageNumbersDisplay.currentPage);
|
|
14696
14690
|
this.cdr.detectChanges();
|
|
14697
14691
|
}
|