@acorex/data-grid 3.0.1 → 3.0.5
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/acorex-data-grid.umd.js +3 -1
- package/bundles/acorex-data-grid.umd.js.map +1 -1
- package/bundles/acorex-data-grid.umd.min.js +1 -1
- package/bundles/acorex-data-grid.umd.min.js.map +1 -1
- package/esm2015/lib/data-grid/datagrid.component.js +4 -2
- package/esm5/lib/data-grid/datagrid.component.js +4 -2
- package/fesm2015/acorex-data-grid.js +3 -1
- package/fesm2015/acorex-data-grid.js.map +1 -1
- package/fesm5/acorex-data-grid.js +3 -1
- package/fesm5/acorex-data-grid.js.map +1 -1
- package/package.json +1 -1
|
@@ -1207,7 +1207,9 @@
|
|
|
1207
1207
|
// todo gridOptions: GridOptions
|
|
1208
1208
|
AXDataGridComponent.prototype.internalGridReady = function (gridOptions) {
|
|
1209
1209
|
gridOptions.api.checkGridSize();
|
|
1210
|
-
|
|
1210
|
+
this.takeCount = this.takeCount ? this.takeCount : gridOptions.api.paginationGetPageSize() * 2;
|
|
1211
|
+
this.takeCount = this.takeCount < 20 ? 20 : this.takeCount;
|
|
1212
|
+
gridOptions.api.gridOptionsWrapper.setProperty('cacheBlockSize', this.takeCount);
|
|
1211
1213
|
this.gridApi = gridOptions.api;
|
|
1212
1214
|
this.mapColumns();
|
|
1213
1215
|
this.calcHeight();
|