@syncfusion/ej2-treegrid 21.2.5 → 21.2.6

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 21.2.5
3
+ * version : 21.2.6
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. 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@21.2.4",
3
+ "_id": "@syncfusion/ej2-treegrid@21.2.5",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-NpKOhZ2iXKUVktbOJarp6RNqk6nazOQnlrVSmDxL5BFnM/0TdyM0R64+eynPJiF4IpIB7rat9MkCtTTiCnL4xA==",
5
+ "_integrity": "sha512-/YahpoCmx9jKOgYBeV4bNlxZ3LhzuFZnoHblPYM7bP3mFp2lmoFEr319iy/hPzNjaW+ztbi5uqCSN5KvTUKkPA==",
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.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-treegrid/-/ej2-treegrid-21.2.4.tgz",
28
- "_shasum": "828522ae3a9455dbab9dc3d5d7d46cb6c510e995",
27
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-treegrid/-/ej2-treegrid-21.2.5.tgz",
28
+ "_shasum": "55beed7905c05ec59ac86f69518c50c977a1119b",
29
29
  "_spec": "@syncfusion/ej2-treegrid@*",
30
30
  "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
31
31
  "author": {
@@ -37,8 +37,8 @@
37
37
  "bundleDependencies": false,
38
38
  "dependencies": {
39
39
  "@syncfusion/ej2-base": "~21.2.3",
40
- "@syncfusion/ej2-data": "~21.2.4",
41
- "@syncfusion/ej2-grids": "~21.2.5",
40
+ "@syncfusion/ej2-data": "~21.2.6",
41
+ "@syncfusion/ej2-grids": "~21.2.6",
42
42
  "@syncfusion/ej2-popups": "~21.2.4"
43
43
  },
44
44
  "deprecated": false,
@@ -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": "21.2.5",
69
+ "version": "21.2.6",
70
70
  "sideEffects": false
71
71
  }
@@ -3335,7 +3335,7 @@ var TreeGrid = /** @class */ (function (_super) {
3335
3335
  }
3336
3336
  }
3337
3337
  if (cRow.length && childRecord.expanded) {
3338
- this.collapseRemoteChild({ record: childRecord, rows: cRow }, true);
3338
+ this.collapseRemoteChild({ record: childRecord, rows: cRow }, false);
3339
3339
  }
3340
3340
  }
3341
3341
  }
@@ -402,7 +402,7 @@ var VirtualTreeContentRenderer = /** @class */ (function (_super) {
402
402
  this.startIndex = (this.startIndex - remains) < 0 ? 0 : (this.startIndex - remains);
403
403
  }
404
404
  if (currentViewData.length && (currentViewData[0]["" + indexValue] >= this.parent.pageSettings.pageSize / 2) &&
405
- ((currentViewData[0]["" + indexValue] - this.startIndex) < (this.parent.pageSettings.pageSize / 2))) {
405
+ ((currentViewData[0]["" + indexValue] - this.startIndex) < (this.parent.pageSettings.pageSize / 2)) && this.parent.selectionModule.isRowSelected) {
406
406
  this.startIndex = currentViewData[0]["" + indexValue] - (this.parent.pageSettings.pageSize / 2);
407
407
  this.endIndex = this.startIndex + this.parent.pageSettings.pageSize;
408
408
  }
@@ -444,7 +444,7 @@ var VirtualTreeContentRenderer = /** @class */ (function (_super) {
444
444
  this.startIndex = !isLastBlock ? lastIndex - this.parent.pageSettings.pageSize : nextSetResIndex;
445
445
  this.endIndex = lastIndex;
446
446
  if (currentViewData.length && this.startIndex > currentViewData[0]["" + indexValue] &&
447
- ((this.startIndex - currentViewData[0]["" + indexValue]) < (this.parent.pageSettings.pageSize / 2))) {
447
+ ((this.startIndex - currentViewData[0]["" + indexValue]) < (this.parent.pageSettings.pageSize / 2)) && this.parent.selectionModule.isRowSelected) {
448
448
  this.startIndex = currentViewData[0]["" + indexValue] + (this.parent.pageSettings.pageSize / 2);
449
449
  }
450
450
  if (scrollArgs.offset.top > (rowHeight * this.totalRecords)) {