@ag-grid-enterprise/server-side-row-model
Advanced tools
Comparing version 28.1.1 to 28.2.0
@@ -22,2 +22,3 @@ import { BeanStub, Column, ColumnVO, IServerSideDatasource, IServerSideRowModel, IServerSideStore, NumberSequence, RowBounds, RowNode, StoreRefreshAfterParams, RefreshServerSideParams, ServerSideGroupLevelState, SortModelItem } from "@ag-grid-community/core"; | ||
private beans; | ||
private onRowHeightChanged_debounced; | ||
private rootNode; | ||
@@ -44,2 +45,9 @@ private datasource; | ||
private onStoreUpdated; | ||
/** This method is debounced. It is used for row auto-height. If we don't debounce, | ||
* then the Row Models will end up recalculating each row position | ||
* for each row height change and result in the Row Renderer laying out rows. | ||
* This is particularly bad if using print layout, and showing eg 1,000 rows, | ||
* each row will change it's height, causing Row Model to update 1,000 times. | ||
*/ | ||
onRowHeightChangedDebounced(): void; | ||
onRowHeightChanged(): void; | ||
@@ -46,0 +54,0 @@ updateRowIndexesAndBounds(): void; |
@@ -27,2 +27,3 @@ "use strict"; | ||
var _this = _super !== null && _super.apply(this, arguments) || this; | ||
_this.onRowHeightChanged_debounced = core_1._.debounce(_this.onRowHeightChanged.bind(_this), 100); | ||
_this.pauseStoreUpdateListening = false; | ||
@@ -210,2 +211,11 @@ _this.started = false; | ||
}; | ||
/** This method is debounced. It is used for row auto-height. If we don't debounce, | ||
* then the Row Models will end up recalculating each row position | ||
* for each row height change and result in the Row Renderer laying out rows. | ||
* This is particularly bad if using print layout, and showing eg 1,000 rows, | ||
* each row will change it's height, causing Row Model to update 1,000 times. | ||
*/ | ||
ServerSideRowModel.prototype.onRowHeightChangedDebounced = function () { | ||
this.onRowHeightChanged_debounced(); | ||
}; | ||
ServerSideRowModel.prototype.onRowHeightChanged = function () { | ||
@@ -212,0 +222,0 @@ this.updateRowIndexesAndBounds(); |
@@ -22,2 +22,3 @@ import { BeanStub, Column, ColumnVO, IServerSideDatasource, IServerSideRowModel, IServerSideStore, NumberSequence, RowBounds, RowNode, StoreRefreshAfterParams, RefreshServerSideParams, ServerSideGroupLevelState, SortModelItem } from "@ag-grid-community/core"; | ||
private beans; | ||
private onRowHeightChanged_debounced; | ||
private rootNode; | ||
@@ -44,2 +45,9 @@ private datasource; | ||
private onStoreUpdated; | ||
/** This method is debounced. It is used for row auto-height. If we don't debounce, | ||
* then the Row Models will end up recalculating each row position | ||
* for each row height change and result in the Row Renderer laying out rows. | ||
* This is particularly bad if using print layout, and showing eg 1,000 rows, | ||
* each row will change it's height, causing Row Model to update 1,000 times. | ||
*/ | ||
onRowHeightChangedDebounced(): void; | ||
onRowHeightChanged(): void; | ||
@@ -46,0 +54,0 @@ updateRowIndexesAndBounds(): void; |
@@ -13,2 +13,3 @@ "use strict"; | ||
super(...arguments); | ||
this.onRowHeightChanged_debounced = core_1._.debounce(this.onRowHeightChanged.bind(this), 100); | ||
this.pauseStoreUpdateListening = false; | ||
@@ -193,2 +194,11 @@ this.started = false; | ||
} | ||
/** This method is debounced. It is used for row auto-height. If we don't debounce, | ||
* then the Row Models will end up recalculating each row position | ||
* for each row height change and result in the Row Renderer laying out rows. | ||
* This is particularly bad if using print layout, and showing eg 1,000 rows, | ||
* each row will change it's height, causing Row Model to update 1,000 times. | ||
*/ | ||
onRowHeightChangedDebounced() { | ||
this.onRowHeightChanged_debounced(); | ||
} | ||
onRowHeightChanged() { | ||
@@ -195,0 +205,0 @@ this.updateRowIndexesAndBounds(); |
@@ -22,2 +22,3 @@ import { BeanStub, Column, ColumnVO, IServerSideDatasource, IServerSideRowModel, IServerSideStore, NumberSequence, RowBounds, RowNode, StoreRefreshAfterParams, RefreshServerSideParams, ServerSideGroupLevelState, SortModelItem } from "@ag-grid-community/core"; | ||
private beans; | ||
private onRowHeightChanged_debounced; | ||
private rootNode; | ||
@@ -44,2 +45,9 @@ private datasource; | ||
private onStoreUpdated; | ||
/** This method is debounced. It is used for row auto-height. If we don't debounce, | ||
* then the Row Models will end up recalculating each row position | ||
* for each row height change and result in the Row Renderer laying out rows. | ||
* This is particularly bad if using print layout, and showing eg 1,000 rows, | ||
* each row will change it's height, causing Row Model to update 1,000 times. | ||
*/ | ||
onRowHeightChangedDebounced(): void; | ||
onRowHeightChanged(): void; | ||
@@ -46,0 +54,0 @@ updateRowIndexesAndBounds(): void; |
@@ -25,2 +25,3 @@ var __extends = (this && this.__extends) || (function () { | ||
var _this = _super !== null && _super.apply(this, arguments) || this; | ||
_this.onRowHeightChanged_debounced = _.debounce(_this.onRowHeightChanged.bind(_this), 100); | ||
_this.pauseStoreUpdateListening = false; | ||
@@ -208,2 +209,11 @@ _this.started = false; | ||
}; | ||
/** This method is debounced. It is used for row auto-height. If we don't debounce, | ||
* then the Row Models will end up recalculating each row position | ||
* for each row height change and result in the Row Renderer laying out rows. | ||
* This is particularly bad if using print layout, and showing eg 1,000 rows, | ||
* each row will change it's height, causing Row Model to update 1,000 times. | ||
*/ | ||
ServerSideRowModel.prototype.onRowHeightChangedDebounced = function () { | ||
this.onRowHeightChanged_debounced(); | ||
}; | ||
ServerSideRowModel.prototype.onRowHeightChanged = function () { | ||
@@ -210,0 +220,0 @@ this.updateRowIndexesAndBounds(); |
@@ -22,2 +22,3 @@ import { BeanStub, Column, ColumnVO, IServerSideDatasource, IServerSideRowModel, IServerSideStore, NumberSequence, RowBounds, RowNode, StoreRefreshAfterParams, RefreshServerSideParams, ServerSideGroupLevelState, SortModelItem } from "@ag-grid-community/core"; | ||
private beans; | ||
private onRowHeightChanged_debounced; | ||
private rootNode; | ||
@@ -44,2 +45,9 @@ private datasource; | ||
private onStoreUpdated; | ||
/** This method is debounced. It is used for row auto-height. If we don't debounce, | ||
* then the Row Models will end up recalculating each row position | ||
* for each row height change and result in the Row Renderer laying out rows. | ||
* This is particularly bad if using print layout, and showing eg 1,000 rows, | ||
* each row will change it's height, causing Row Model to update 1,000 times. | ||
*/ | ||
onRowHeightChangedDebounced(): void; | ||
onRowHeightChanged(): void; | ||
@@ -46,0 +54,0 @@ updateRowIndexesAndBounds(): void; |
@@ -11,2 +11,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
super(...arguments); | ||
this.onRowHeightChanged_debounced = _.debounce(this.onRowHeightChanged.bind(this), 100); | ||
this.pauseStoreUpdateListening = false; | ||
@@ -191,2 +192,11 @@ this.started = false; | ||
} | ||
/** This method is debounced. It is used for row auto-height. If we don't debounce, | ||
* then the Row Models will end up recalculating each row position | ||
* for each row height change and result in the Row Renderer laying out rows. | ||
* This is particularly bad if using print layout, and showing eg 1,000 rows, | ||
* each row will change it's height, causing Row Model to update 1,000 times. | ||
*/ | ||
onRowHeightChangedDebounced() { | ||
this.onRowHeightChanged_debounced(); | ||
} | ||
onRowHeightChanged() { | ||
@@ -193,0 +203,0 @@ this.updateRowIndexesAndBounds(); |
{ | ||
"name": "@ag-grid-enterprise/server-side-row-model", | ||
"version": "28.1.1", | ||
"version": "28.2.0", | ||
"description": "Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue", | ||
@@ -50,4 +50,4 @@ "main": "./dist/cjs/es5/main.js", | ||
"dependencies": { | ||
"@ag-grid-community/core": "~28.1.0", | ||
"@ag-grid-enterprise/core": "~28.1.0" | ||
"@ag-grid-community/core": "~28.2.0", | ||
"@ag-grid-enterprise/core": "~28.2.0" | ||
}, | ||
@@ -54,0 +54,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4531428
74530
+ Added@ag-grid-community/core@28.2.1(transitive)
+ Added@ag-grid-enterprise/core@28.2.1(transitive)
- Removed@ag-grid-community/core@28.1.1(transitive)
- Removed@ag-grid-enterprise/core@28.1.1(transitive)