@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.
@@ -6155,6 +6155,9 @@ let TreeGrid = TreeGrid_1 = class TreeGrid extends Component {
6155
6155
  record = this.grid.getCurrentViewRecords()[row.rowIndex];
6156
6156
  }
6157
6157
  }
6158
+ else if (this.rowTemplate) {
6159
+ record = this.grid.getCurrentViewRecords()[row.rowIndex];
6160
+ }
6158
6161
  else {
6159
6162
  record = this.grid.getCurrentViewRecords()[parseInt(row.getAttribute('data-rowindex'), 10)];
6160
6163
  }
@@ -11469,6 +11472,7 @@ class Edit$1 {
11469
11472
  }
11470
11473
  beforeBatchCancel(args) {
11471
11474
  if (this.parent.editSettings.mode === 'Cell') {
11475
+ args['requestType'] = 'cancel';
11472
11476
  this.parent.trigger(actionComplete, args);
11473
11477
  }
11474
11478
  }