@acorex/data-grid 1.3.88 → 1.3.89

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.
@@ -1175,7 +1175,7 @@
1175
1175
  loadParams.searchText = that.searchText;
1176
1176
  loadParams.skip = params.request.startRow;
1177
1177
  // loadParams.take = params.request.endRow - params.request.startRow;
1178
- loadParams.take = that.takeCount ? that.takeCount : params.api.paginationGetPageSize();
1178
+ loadParams.take = that.takeCount ? that.takeCount : params.api.paginationGetPageSize() * 2;
1179
1179
  loadParams.sort = params.request.sortModel.map(function (c) {
1180
1180
  return {
1181
1181
  field: c.colId,
@@ -1207,7 +1207,7 @@
1207
1207
  // todo gridOptions: GridOptions
1208
1208
  AXDataGridComponent.prototype.internalGridReady = function (gridOptions) {
1209
1209
  gridOptions.api.checkGridSize();
1210
- gridOptions.api.gridOptionsWrapper.setProperty('cacheBlockSize', this.takeCount ? this.takeCount : gridOptions.api.paginationGetPageSize());
1210
+ gridOptions.api.gridOptionsWrapper.setProperty('cacheBlockSize', this.takeCount ? this.takeCount : gridOptions.api.paginationGetPageSize() * 2);
1211
1211
  this.gridApi = gridOptions.api;
1212
1212
  this.mapColumns();
1213
1213
  this.calcHeight();