@syncfusion/ej2-treegrid 21.2.3 → 21.2.4

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.3
3
+ * version : 21.2.4
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.1.41",
3
+ "_id": "@syncfusion/ej2-treegrid@21.2.3",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-AYO8w6DXiNenGnuNIxGQZUYcFQ73fOKYGi3LAogDdUJltrCYKenVR8eSJktB8bUf34mFwzAtZktha4gPumOYbw==",
5
+ "_integrity": "sha512-pnNlc+xmVp2HSWThhMjSVX88ro8KbjBqpDmXOBTdzSHrnm+ndxCq7ZXGdgkCe7S5iXL5KA3bgJhUKNSOVdd55g==",
6
6
  "_location": "/@syncfusion/ej2-treegrid",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -19,10 +19,13 @@
19
19
  "_requiredBy": [
20
20
  "/",
21
21
  "/@syncfusion/ej2",
22
- "/@syncfusion/ej2-gantt"
22
+ "/@syncfusion/ej2-angular-treegrid",
23
+ "/@syncfusion/ej2-gantt",
24
+ "/@syncfusion/ej2-react-treegrid",
25
+ "/@syncfusion/ej2-vue-treegrid"
23
26
  ],
24
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-treegrid/-/ej2-treegrid-21.1.41.tgz",
25
- "_shasum": "461656857601f4d69e6cd346e1010957f6ba5e79",
27
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-treegrid/-/ej2-treegrid-21.2.3.tgz",
28
+ "_shasum": "bd3a3fc2dbc73a3eebc6fec6d55827feacec0da2",
26
29
  "_spec": "@syncfusion/ej2-treegrid@*",
27
30
  "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
28
31
  "author": {
@@ -34,9 +37,9 @@
34
37
  "bundleDependencies": false,
35
38
  "dependencies": {
36
39
  "@syncfusion/ej2-base": "~21.2.3",
37
- "@syncfusion/ej2-data": "~21.2.3",
38
- "@syncfusion/ej2-grids": "~21.2.3",
39
- "@syncfusion/ej2-popups": "~21.2.3"
40
+ "@syncfusion/ej2-data": "~21.2.4",
41
+ "@syncfusion/ej2-grids": "~21.2.4",
42
+ "@syncfusion/ej2-popups": "~21.2.4"
40
43
  },
41
44
  "deprecated": false,
42
45
  "description": "Essential JS 2 TreeGrid Component",
@@ -63,6 +66,6 @@
63
66
  "url": "git+https://github.com/syncfusion/ej2-treegrid.git"
64
67
  },
65
68
  "typings": "index.d.ts",
66
- "version": "21.2.3",
69
+ "version": "21.2.4",
67
70
  "sideEffects": false
68
71
  }
@@ -309,13 +309,18 @@ var TreeGrid = /** @class */ (function (_super) {
309
309
  break;
310
310
  case 'downArrow':
311
311
  if (!this.enableVirtualization) {
312
- parentTarget = e.target.parentElement;
312
+ target = e.target;
313
+ parentTarget = target.parentElement;
314
+ var cellIndex = parentTarget.cellIndex;
315
+ if (this.grid.getColumnByIndex(cellIndex).editType === 'dropdownedit' && isNullOrUndefined(this.grid.getColumnByIndex(cellIndex).edit["obj"])) {
316
+ parentTarget = target;
317
+ }
313
318
  summaryElement = this.findnextRowElement(parentTarget);
314
319
  if (summaryElement !== null) {
315
320
  var rowIndex = summaryElement.rowIndex;
316
321
  this.selectRow(rowIndex);
317
- var cellIndex = e.target.cellIndex;
318
- var row_1 = summaryElement.children[parseInt(cellIndex.toString(), 10)];
322
+ var cellIndex_1 = e.target.cellIndex;
323
+ var row_1 = summaryElement.children[parseInt(cellIndex_1.toString(), 10)];
319
324
  addClass([row_1], 'e-focused');
320
325
  addClass([row_1], 'e-focus');
321
326
  }
@@ -326,7 +331,12 @@ var TreeGrid = /** @class */ (function (_super) {
326
331
  break;
327
332
  case 'upArrow':
328
333
  if (!this.enableVirtualization) {
329
- parentTarget = e.target.parentElement;
334
+ target = e.target;
335
+ parentTarget = target.parentElement;
336
+ var cellIndex = parentTarget.cellIndex;
337
+ if (this.grid.getColumnByIndex(cellIndex).editType === 'dropdownedit' && isNullOrUndefined(this.grid.getColumnByIndex(cellIndex).edit["obj"])) {
338
+ parentTarget = target;
339
+ }
330
340
  summaryElement = this.findPreviousRowElement(parentTarget);
331
341
  if (summaryElement !== null) {
332
342
  var rIndex = summaryElement.rowIndex;