@syncfusion/ej2-treegrid 23.2.6 → 23.2.7

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 : 23.2.6
3
+ * version : 23.2.7
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@23.2.4",
3
+ "_id": "@syncfusion/ej2-treegrid@23.2.6",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-ZM2cNopSlWXSE44geI2y7IWt9NYMylXLmj40Ew9hhNYs7KoFC/ftE6oo0B+wXdwlGGZ7UTm5bggDh8fXIM2Hwg==",
5
+ "_integrity": "sha512-xnM6VKhApR0HfUuCvlAALqC1WJfUDjIh4L3qLT6NQ5IioV5PiGJw+wgxuS1s9ODoUYhajt0d+XNtCQWkXBwTeQ==",
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-23.2.4.tgz",
28
- "_shasum": "f4fdb84fd5f8cc7234f48cd1b3e48a7a7dc273ac",
27
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-treegrid/-/ej2-treegrid-23.2.6.tgz",
28
+ "_shasum": "232a09691a20571b1d67c65fbeaf31585c505f31",
29
29
  "_spec": "@syncfusion/ej2-treegrid@*",
30
30
  "_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included",
31
31
  "author": {
@@ -38,7 +38,7 @@
38
38
  "dependencies": {
39
39
  "@syncfusion/ej2-base": "~23.2.6",
40
40
  "@syncfusion/ej2-data": "~23.2.4",
41
- "@syncfusion/ej2-grids": "~23.2.6",
41
+ "@syncfusion/ej2-grids": "~23.2.7",
42
42
  "@syncfusion/ej2-popups": "~23.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": "23.2.6",
69
+ "version": "23.2.7",
70
70
  "sideEffects": false
71
71
  }
@@ -3496,11 +3496,12 @@ var TreeGrid = /** @class */ (function (_super) {
3496
3496
  TreeGrid.prototype.treeColumnRowTemplate = function () {
3497
3497
  var rows = this.getContentTable().rows;
3498
3498
  rows = [].slice.call(rows);
3499
+ var rowsObject = this.grid.getRowsObject();
3499
3500
  for (var i = 0; i < rows.length; i++) {
3500
3501
  var rcell = this.grid.getContentTable().rows[parseInt(i.toString(), 10)]
3501
3502
  .cells[this.treeColumnIndex];
3502
3503
  var row = rows[parseInt(i.toString(), 10)];
3503
- var rowData = this.grid.getRowsObject()[parseInt(i.toString(), 10)].data;
3504
+ var rowData = rowsObject.length != 0 ? rowsObject[parseInt(i.toString(), 10)].data : new Object();
3504
3505
  var arg = { data: rowData, row: row, cell: rcell, column: this.getColumns()[this.treeColumnIndex] };
3505
3506
  this.renderModule.cellRender(arg);
3506
3507
  }