@syncfusion/ej2-treegrid 24.2.5 → 24.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.
@@ -6463,6 +6463,9 @@ var TreeGrid = /** @__PURE__ @class */ (function (_super) {
6463
6463
  record = this.grid.getCurrentViewRecords()[row.rowIndex];
6464
6464
  }
6465
6465
  }
6466
+ else if (this.rowTemplate) {
6467
+ record = this.grid.getCurrentViewRecords()[row.rowIndex];
6468
+ }
6466
6469
  else {
6467
6470
  record = this.grid.getCurrentViewRecords()[parseInt(row.getAttribute('data-rowindex'), 10)];
6468
6471
  }
@@ -10045,7 +10048,9 @@ var ExcelExport$1 = /** @__PURE__ @class */ (function () {
10045
10048
  }
10046
10049
  property = isNullOrUndefined(property) ? Object() : property;
10047
10050
  property.dataSource = new DataManager({ json: dtSrc });
10048
- property.query = args['query'];
10051
+ if (this.parent.aggregates.length > 0) {
10052
+ property.query = args['query'];
10053
+ }
10049
10054
  return property;
10050
10055
  };
10051
10056
  /**
@@ -11869,6 +11874,7 @@ var Edit$1 = /** @__PURE__ @class */ (function () {
11869
11874
  };
11870
11875
  Edit$$1.prototype.beforeBatchCancel = function (args) {
11871
11876
  if (this.parent.editSettings.mode === 'Cell') {
11877
+ args['requestType'] = 'cancel';
11872
11878
  this.parent.trigger(actionComplete, args);
11873
11879
  }
11874
11880
  };