@syncfusion/ej2-treegrid 24.2.7 → 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
  }
@@ -11871,6 +11874,7 @@ var Edit$1 = /** @__PURE__ @class */ (function () {
11871
11874
  };
11872
11875
  Edit$$1.prototype.beforeBatchCancel = function (args) {
11873
11876
  if (this.parent.editSettings.mode === 'Cell') {
11877
+ args['requestType'] = 'cancel';
11874
11878
  this.parent.trigger(actionComplete, args);
11875
11879
  }
11876
11880
  };