@syncfusion/ej2-treegrid 25.1.39 → 25.1.42
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/CHANGELOG.md +14 -0
- package/dist/ej2-treegrid.min.js +2 -2
- package/dist/ej2-treegrid.umd.min.js +2 -2
- package/dist/ej2-treegrid.umd.min.js.map +1 -1
- package/dist/es6/ej2-treegrid.es2015.js +10 -7
- package/dist/es6/ej2-treegrid.es2015.js.map +1 -1
- package/dist/es6/ej2-treegrid.es5.js +10 -7
- package/dist/es6/ej2-treegrid.es5.js.map +1 -1
- package/dist/global/ej2-treegrid.min.js +2 -2
- package/dist/global/ej2-treegrid.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +7 -7
- package/src/treegrid/actions/excel-export.js +1 -1
- package/src/treegrid/actions/virtual-scroll.js +5 -5
- package/src/treegrid/renderer/virtual-tree-content-render.js +4 -1
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 25.1.
|
|
3
|
+
* version : 25.1.42
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-treegrid@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-treegrid@25.1.
|
|
3
|
+
"_id": "@syncfusion/ej2-treegrid@25.1.41",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-oDcAbey3zDcULE67WmjiYHVTjbV7eTXnVvrsPXmQEdM0a/+/kfcPCQzw/p53ryKRHRypi04/DtaiywrRq5x3nQ==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-treegrid",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"/@syncfusion/ej2-react-treegrid",
|
|
25
25
|
"/@syncfusion/ej2-vue-treegrid"
|
|
26
26
|
],
|
|
27
|
-
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-treegrid/-/ej2-treegrid-25.1.
|
|
28
|
-
"_shasum": "
|
|
27
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-treegrid/-/ej2-treegrid-25.1.41.tgz",
|
|
28
|
+
"_shasum": "00dd3e401fc8059a49d07aca8a2121a3aa172419",
|
|
29
29
|
"_spec": "@syncfusion/ej2-treegrid@*",
|
|
30
30
|
"_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included",
|
|
31
31
|
"author": {
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@syncfusion/ej2-base": "~25.1.35",
|
|
40
40
|
"@syncfusion/ej2-data": "~25.1.35",
|
|
41
|
-
"@syncfusion/ej2-grids": "~25.1.
|
|
42
|
-
"@syncfusion/ej2-popups": "~25.1.
|
|
41
|
+
"@syncfusion/ej2-grids": "~25.1.42",
|
|
42
|
+
"@syncfusion/ej2-popups": "~25.1.42"
|
|
43
43
|
},
|
|
44
44
|
"deprecated": false,
|
|
45
45
|
"description": "Essential JS 2 TreeGrid Component",
|
|
@@ -66,6 +66,6 @@
|
|
|
66
66
|
"url": "git+https://github.com/syncfusion/ej2-treegrid.git"
|
|
67
67
|
},
|
|
68
68
|
"typings": "index.d.ts",
|
|
69
|
-
"version": "25.1.
|
|
69
|
+
"version": "25.1.42",
|
|
70
70
|
"sideEffects": false
|
|
71
71
|
}
|
|
@@ -136,7 +136,7 @@ var ExcelExport = /** @class */ (function () {
|
|
|
136
136
|
if (!this.isLocal()) {
|
|
137
137
|
this.parent.flatData = [];
|
|
138
138
|
}
|
|
139
|
-
if (property && property.dataSource
|
|
139
|
+
if (property && property.dataSource) {
|
|
140
140
|
var flatsData = this.parent.flatData;
|
|
141
141
|
var dataSrc = property.dataSource instanceof DataManager ? property.dataSource.dataSource.json : property.dataSource;
|
|
142
142
|
this.parent.dataModule.convertToFlatData(dataSrc);
|
|
@@ -127,14 +127,14 @@ var VirtualScroll = /** @class */ (function () {
|
|
|
127
127
|
}
|
|
128
128
|
if ((requestType === 'save' && pageingDetails.actionArgs.index >= (counts.count - this.parent.grid.pageSettings.pageSize)) || (requestType === 'refresh' && this.parent['isGantt'] && this.parent['isAddedFromGantt'])) {
|
|
129
129
|
var modifiedStartIndex = counts.startIndex + (counts.count - counts.endIndex);
|
|
130
|
-
if (counts.
|
|
131
|
-
startIndex = counts.startIndex;
|
|
132
|
-
endIndex = counts.endIndex;
|
|
133
|
-
}
|
|
134
|
-
else {
|
|
130
|
+
if (counts.count - counts.startIndex <= this.parent.grid.pageSettings.pageSize) {
|
|
135
131
|
startIndex = modifiedStartIndex;
|
|
136
132
|
endIndex = counts.count;
|
|
137
133
|
}
|
|
134
|
+
else {
|
|
135
|
+
startIndex = counts.startIndex;
|
|
136
|
+
endIndex = counts.endIndex;
|
|
137
|
+
}
|
|
138
138
|
this.parent['isAddedFromGantt'] = false;
|
|
139
139
|
}
|
|
140
140
|
//if ((this.prevendIndex !== -1 && this.prevstartIndex !== -1) &&
|
|
@@ -202,7 +202,7 @@ var VirtualTreeContentRenderer = /** @class */ (function (_super) {
|
|
|
202
202
|
VirtualTreeContentRenderer.prototype.dataBoundEvent = function () {
|
|
203
203
|
var dataBoundEve = 'dataBound';
|
|
204
204
|
var initialRowTop = 'initialRowTop';
|
|
205
|
-
if (
|
|
205
|
+
if (this.parent.getRows().length && !isNullOrUndefined(this.parent.getRowByIndex(0)) && !this["" + initialRowTop]) {
|
|
206
206
|
var rowTop = this.parent.getRowByIndex(0).getBoundingClientRect().top;
|
|
207
207
|
var gridTop = this.parent.element.getBoundingClientRect().top;
|
|
208
208
|
if (rowTop > 0) {
|
|
@@ -481,6 +481,9 @@ var VirtualTreeContentRenderer = /** @class */ (function (_super) {
|
|
|
481
481
|
this.previousInfo = viewInfo;
|
|
482
482
|
this.parent.setColumnIndexesInView(this.parent.enableColumnVirtualization ? viewInfo.columnIndexes : []);
|
|
483
483
|
var page = viewInfo.loadNext && !viewInfo.loadSelf ? viewInfo.nextInfo.page : viewInfo.page;
|
|
484
|
+
if (downScroll && this.endIndex === this.totalRecords && viewInfo.loadNext) {
|
|
485
|
+
viewInfo.loadNext = false;
|
|
486
|
+
}
|
|
484
487
|
this.parent.setProperties({ pageSettings: { currentPage: page } }, true);
|
|
485
488
|
this.requestType = 'virtualscroll';
|
|
486
489
|
if (scrollArgs.direction !== 'right' && scrollArgs.direction !== 'left') {
|