@syncfusion/ej2-treegrid 27.1.50 → 27.1.51
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/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 +4 -3
- package/dist/es6/ej2-treegrid.es2015.js.map +1 -1
- package/dist/es6/ej2-treegrid.es5.js +4 -3
- 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/renderer/virtual-tree-content-render.js +4 -3
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 27.1.
|
|
3
|
+
* version : 27.1.51
|
|
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@27.1.
|
|
3
|
+
"_id": "@syncfusion/ej2-treegrid@27.1.50",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512
|
|
5
|
+
"_integrity": "sha512-2MDstE2U8bW9mLrdHYJeWrrE7Xenu5+Kqyhe/Dawra6/V1Mmd9pAGvVOAY7Ni0UxxSkAttRW0CMK8kj8ud1FYw==",
|
|
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-27.1.
|
|
28
|
-
"_shasum": "
|
|
27
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-treegrid/-/ej2-treegrid-27.1.50.tgz",
|
|
28
|
+
"_shasum": "0d347796d2a4a20657cff3e428fbad0a5fe11d38",
|
|
29
29
|
"_spec": "@syncfusion/ej2-treegrid@*",
|
|
30
30
|
"_where": "/jenkins/workspace/elease-automation_release_27.1.1/packages/included",
|
|
31
31
|
"author": {
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"bundleDependencies": false,
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@syncfusion/ej2-base": "~27.1.50",
|
|
40
|
-
"@syncfusion/ej2-data": "~27.1.
|
|
41
|
-
"@syncfusion/ej2-grids": "~27.1.
|
|
40
|
+
"@syncfusion/ej2-data": "~27.1.51",
|
|
41
|
+
"@syncfusion/ej2-grids": "~27.1.51",
|
|
42
42
|
"@syncfusion/ej2-popups": "~27.1.50"
|
|
43
43
|
},
|
|
44
44
|
"deprecated": false,
|
|
@@ -76,6 +76,6 @@
|
|
|
76
76
|
"url": "git+https://github.com/syncfusion/ej2-treegrid.git"
|
|
77
77
|
},
|
|
78
78
|
"typings": "index.d.ts",
|
|
79
|
-
"version": "27.1.
|
|
79
|
+
"version": "27.1.51",
|
|
80
80
|
"sideEffects": false
|
|
81
81
|
}
|
|
@@ -405,13 +405,14 @@ var VirtualTreeContentRenderer = /** @class */ (function (_super) {
|
|
|
405
405
|
- this.parent.pageSettings.pageSize;
|
|
406
406
|
index = (index > 0) ? index : 0;
|
|
407
407
|
if (!isNullOrUndefined(this["" + selectedRowIndex]) && this["" + selectedRowIndex] !== -1 && index !== this["" + selectedRowIndex] &&
|
|
408
|
-
((this.parent.rowHeight * this.parent.pageSettings.pageSize) < content.scrollTop)
|
|
408
|
+
((this.parent.rowHeight * this.parent.pageSettings.pageSize) < content.scrollTop) &&
|
|
409
|
+
!(this.parent.root && this.parent.root.treeGrid && this.parent.root.treeGrid.isGantt)) {
|
|
409
410
|
index = this["" + selectedRowIndex];
|
|
410
411
|
}
|
|
411
412
|
this.startIndex = index;
|
|
412
413
|
this.endIndex = index + this.parent.pageSettings.pageSize;
|
|
413
414
|
if (this.endIndex > this.totalRecords) {
|
|
414
|
-
var lastInx = this.totalRecords
|
|
415
|
+
var lastInx = this.totalRecords;
|
|
415
416
|
var remains = this.endIndex % lastInx;
|
|
416
417
|
this.endIndex = lastInx;
|
|
417
418
|
this.startIndex = (this.startIndex - remains) < 0 ? 0 : (this.startIndex - remains);
|
|
@@ -449,7 +450,7 @@ var VirtualTreeContentRenderer = /** @class */ (function (_super) {
|
|
|
449
450
|
var nextSetResIndex = ~~(content.scrollTop / rowHeight);
|
|
450
451
|
var isLastBlock = (this["" + selectedRowIndex] + this.parent.pageSettings.pageSize) < this.totalRecords ? false : true;
|
|
451
452
|
if (!isNullOrUndefined(this["" + selectedRowIndex]) && this["" + selectedRowIndex] !== -1 &&
|
|
452
|
-
nextSetResIndex !== this["" + selectedRowIndex] && !isLastBlock) {
|
|
453
|
+
nextSetResIndex !== this["" + selectedRowIndex] && !isLastBlock && !(this.parent.root && this.parent.root.treeGrid && this.parent.root.treeGrid.isGantt)) {
|
|
453
454
|
nextSetResIndex = this["" + selectedRowIndex];
|
|
454
455
|
}
|
|
455
456
|
var lastIndex = nextSetResIndex + this.parent.pageSettings.pageSize;
|