@syncfusion/ej2-treegrid 19.3.47 → 19.3.48

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 : 19.3.47
3
+ * version : 19.3.48
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@19.3.46",
3
+ "_id": "@syncfusion/ej2-treegrid@19.3.47",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-ixI+UPSir9+Ak614G/rj45qzdVf4LcdsjJWLrjkDCrzvDFLTn0Wml6iiXh7ThbUFaqR4X57juAoN+CH4rF/BPQ==",
5
+ "_integrity": "sha512-1qAa8qD3pixiqbAaV3Iqu5V6+3NzXa8G+EHL6QLhJF0fo/Fgj4DOuEUXSnQCy602s3YVzqSSPSAboKUvBNe4gg==",
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": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-treegrid/-/ej2-treegrid-19.3.46.tgz",
28
- "_shasum": "9640be756a1c6760a4af39525b76c2d53d52868c",
27
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-treegrid/-/ej2-treegrid-19.3.47.tgz",
28
+ "_shasum": "9d3509b03b5ef89e7c2517ecea267f4908255bb6",
29
29
  "_spec": "@syncfusion/ej2-treegrid@*",
30
30
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
31
31
  "author": {
@@ -38,7 +38,7 @@
38
38
  "dependencies": {
39
39
  "@syncfusion/ej2-base": "~19.3.47",
40
40
  "@syncfusion/ej2-data": "~19.3.47",
41
- "@syncfusion/ej2-grids": "~19.3.47",
41
+ "@syncfusion/ej2-grids": "~19.3.48",
42
42
  "@syncfusion/ej2-popups": "~19.3.47"
43
43
  },
44
44
  "deprecated": false,
@@ -60,6 +60,6 @@
60
60
  "url": "git+https://github.com/syncfusion/ej2-treegrid.git"
61
61
  },
62
62
  "typings": "index.d.ts",
63
- "version": "19.3.47",
63
+ "version": "19.3.48",
64
64
  "sideEffects": false
65
65
  }
@@ -579,7 +579,7 @@ var RowDD = /** @class */ (function () {
579
579
  }
580
580
  else {
581
581
  if (args.target && closest(args.target, '#' + tObj.rowDropSettings.targetID) || parentsUntil(args.target, 'e-treegrid') &&
582
- parentsUntil(args.target, 'e-treegrid').id === tObj.rowDropSettings.targetID) {
582
+ parentsUntil(args.target, 'e-treegrid').id === tObj.rowDropSettings.targetID || args.target && document.getElementById(tObj.rowDropSettings.targetID)) {
583
583
  setValue('dropPosition', this.dropPosition, args);
584
584
  tObj.trigger(events.rowDrop, args);
585
585
  if (!args.cancel && tObj.rowDropSettings.targetID) {
@@ -1025,6 +1025,10 @@ var TreeGrid = /** @class */ (function (_super) {
1025
1025
  && (_this.grid.filterSettings.columns.length === 0 || _this.grid.searchSettings.key.length === 0)) {
1026
1026
  _this.notify('clearFilters', { flatData: _this.grid.dataSource });
1027
1027
  _this.grid.setProperties({ dataSource: _this.dataResults.result }, true);
1028
+ if (isNullOrUndefined(_this.grid['changedProperties'].dataSource)) {
1029
+ _this.grid.renderModule.data.dataManager = _this.grid.dataSource instanceof DataManager ? _this.grid.dataSource :
1030
+ (isNullOrUndefined(_this.grid.dataSource) ? new DataManager() : new DataManager(_this.grid.dataSource));
1031
+ }
1028
1032
  }
1029
1033
  var callBackPromise = new Deferred();
1030
1034
  _this.trigger(events.actionBegin, args, function (actionArgs) {
@@ -1572,6 +1576,11 @@ var TreeGrid = /** @class */ (function (_super) {
1572
1576
  if (isNullOrUndefined(this.grid)) {
1573
1577
  return;
1574
1578
  }
1579
+ if (!isNullOrUndefined(this.rowDropSettings.targetID) &&
1580
+ isNullOrUndefined(document.getElementById(this.grid.rowDropSettings.targetID))) {
1581
+ document.getElementById(this.rowDropSettings.targetID).id = this.grid.rowDropSettings.targetID;
1582
+ this.rowDropSettings.targetID = this.grid.rowDropSettings.targetID;
1583
+ }
1575
1584
  _super.prototype.dataBind.call(this);
1576
1585
  this.grid.dataBind();
1577
1586
  };