@ag-grid-enterprise/server-side-row-model
Advanced tools
Comparing version 23.2.1 to 24.0.0
@@ -138,3 +138,2 @@ "use strict"; | ||
rowNode.setDataAndId(data, idToUse); | ||
rowNode.setRowHeight(this.gridOptionsWrapper.getRowHeightForNode(rowNode).height); | ||
if (this.usingTreeData) { | ||
@@ -180,2 +179,7 @@ var getServerSideGroupKey = this.gridOptionsWrapper.getServerSideGroupKeyFunc(); | ||
} | ||
// this needs to be done AFTER setGroupDataIntoRowNode(), as the height can depend on the group data | ||
// getting set, if it's a group node and colDef.autoHeight=true | ||
if (core_1._.exists(data)) { | ||
rowNode.setRowHeight(this.gridOptionsWrapper.getRowHeightForNode(rowNode).height); | ||
} | ||
}; | ||
@@ -182,0 +186,0 @@ ServerSideBlock.prototype.setChildCountIntoRowNode = function (rowNode) { |
@@ -136,3 +136,2 @@ var __extends = (this && this.__extends) || (function () { | ||
rowNode.setDataAndId(data, idToUse); | ||
rowNode.setRowHeight(this.gridOptionsWrapper.getRowHeightForNode(rowNode).height); | ||
if (this.usingTreeData) { | ||
@@ -178,2 +177,7 @@ var getServerSideGroupKey = this.gridOptionsWrapper.getServerSideGroupKeyFunc(); | ||
} | ||
// this needs to be done AFTER setGroupDataIntoRowNode(), as the height can depend on the group data | ||
// getting set, if it's a group node and colDef.autoHeight=true | ||
if (_.exists(data)) { | ||
rowNode.setRowHeight(this.gridOptionsWrapper.getRowHeightForNode(rowNode).height); | ||
} | ||
}; | ||
@@ -180,0 +184,0 @@ ServerSideBlock.prototype.setChildCountIntoRowNode = function (rowNode) { |
{ | ||
"name": "@ag-grid-enterprise/server-side-row-model", | ||
"version": "23.2.1", | ||
"version": "24.0.0", | ||
"description": "Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components", | ||
@@ -45,4 +45,4 @@ "main": "./dist/cjs/main.js", | ||
"dependencies": { | ||
"@ag-grid-community/core": "~23.2.0", | ||
"@ag-grid-enterprise/core": "~23.2.0" | ||
"@ag-grid-community/core": "~24.0.0", | ||
"@ag-grid-enterprise/core": "~24.0.0" | ||
}, | ||
@@ -49,0 +49,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
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
5929629
94968
+ Added@ag-grid-community/core@24.0.0(transitive)
+ Added@ag-grid-enterprise/core@24.0.0(transitive)
- Removed@ag-grid-community/core@23.2.1(transitive)
- Removed@ag-grid-enterprise/core@23.2.1(transitive)