@syncfusion/ej2-treegrid 33.1.49 → 33.2.8

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,12 +1,3 @@
1
- /*!
2
- * filename: index.d.ts
3
- * version : 33.1.49
4
- * Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
5
- * Use of this code is subject to the terms of our license.
6
- * A copy of the current license can be obtained at any time by e-mailing
7
- * licensing@syncfusion.com. Any infringement will be prosecuted under
8
- * applicable laws.
9
- */
10
1
  import * as _treegrid from '@syncfusion/ej2-treegrid';
11
2
 
12
3
  export declare namespace ej {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syncfusion/ej2-treegrid",
3
- "version": "33.1.49",
3
+ "version": "33.2.8",
4
4
  "description": "Essential JS 2 TreeGrid Component",
5
5
  "author": "Syncfusion Inc.",
6
6
  "license": "SEE LICENSE IN license",
@@ -8,10 +8,10 @@
8
8
  "module": "./index.js",
9
9
  "es2015": "./dist/es6/ej2-treegrid.es5.js",
10
10
  "dependencies": {
11
- "@syncfusion/ej2-base": "~33.1.45",
12
- "@syncfusion/ej2-data": "~33.1.45",
13
- "@syncfusion/ej2-grids": "~33.1.49",
14
- "@syncfusion/ej2-popups": "~33.1.44"
11
+ "@syncfusion/ej2-base": "~33.2.3",
12
+ "@syncfusion/ej2-data": "~33.2.5",
13
+ "@syncfusion/ej2-grids": "~33.2.8",
14
+ "@syncfusion/ej2-popups": "~33.2.7"
15
15
  },
16
16
  "devDependencies": {},
17
17
  "keywords": [
@@ -182,13 +182,10 @@ var DataManipulation = /** @class */ (function () {
182
182
  // }
183
183
  DataManipulation.prototype.selfReferenceUpdate = function (selfData) {
184
184
  var result = [];
185
- while (this.hierarchyData.length > 0 && selfData.length > 0) {
186
- var index = selfData.indexOf(this.hierarchyData[0]);
187
- if (index === -1) {
188
- this.hierarchyData.shift();
189
- }
190
- else {
191
- result.push(this.hierarchyData.shift());
185
+ for (var i = 0; i < this.hierarchyData.length && selfData.length > 0; i++) {
186
+ var index = selfData.indexOf(this.hierarchyData[parseInt(i.toString(), 10)]);
187
+ if (index !== -1) {
188
+ result.push(this.hierarchyData[parseInt(i.toString(), 10)]);
192
189
  selfData.splice(index, 1);
193
190
  }
194
191
  }
@@ -895,7 +895,7 @@ var TreeGrid = /** @class */ (function (_super) {
895
895
  var portals = 'portals';
896
896
  if (!(_this.isReact && isNullOrUndefined(_this["" + portals]))) {
897
897
  var isGantt = _this['isFromGantt'] && !isNullOrUndefined(_this['root'].clearTemplate) &&
898
- _this['root'].chartRowsModule['isGridRowRefreshed'];
898
+ (_this['root'].chartRowsModule['isGridRowRefreshed'] || _this['root']['registeredTemplate']);
899
899
  if (isGantt) {
900
900
  _this['root'].clearTemplate(args, index, callback);
901
901
  }
@@ -735,7 +735,8 @@ var VirtualTreeContentRenderer = /** @class */ (function (_super) {
735
735
  var index = scrolledRows + visibleRows - this.parent.pageSettings.pageSize;
736
736
  index = (index > 0) ? index : 0;
737
737
  if (!isNullOrUndefined(this["" + selectedRowIndex]) && this["" + selectedRowIndex] !== -1 && index !== this["" + selectedRowIndex] &&
738
- ((this.parent.rowHeight * this.parent.pageSettings.pageSize) < content.scrollTop) && !this.parent.allowRowDragAndDrop) {
738
+ (this.parent.rowHeight && ((this.parent.rowHeight * this.parent.pageSettings.pageSize) < content.scrollTop)) &&
739
+ !this.parent.allowRowDragAndDrop) {
739
740
  index = this["" + selectedRowIndex];
740
741
  }
741
742
  this.startIndex = index;