@syncfusion/ej2-treegrid 24.2.4 → 24.2.5

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.
@@ -4039,8 +4039,6 @@ var TreeGrid = /** @__PURE__ @class */ (function (_super) {
4039
4039
  }
4040
4040
  summaryElement = this.findnextRowElement(parentTarget);
4041
4041
  if (summaryElement !== null) {
4042
- var rowIndex = summaryElement.rowIndex;
4043
- this.selectRow(rowIndex);
4044
4042
  var cellIndex_1 = e.target.cellIndex;
4045
4043
  var row_1 = summaryElement.children[parseInt(cellIndex_1.toString(), 10)];
4046
4044
  addClass([row_1], 'e-focused');
@@ -4061,8 +4059,6 @@ var TreeGrid = /** @__PURE__ @class */ (function (_super) {
4061
4059
  }
4062
4060
  summaryElement = this.findPreviousRowElement(parentTarget);
4063
4061
  if (summaryElement !== null) {
4064
- var rIndex = summaryElement.rowIndex;
4065
- this.selectRow(rIndex);
4066
4062
  var cIndex = e.target.cellIndex;
4067
4063
  var rows = summaryElement.children[parseInt(cIndex.toString(), 10)];
4068
4064
  addClass([rows], 'e-focused');
@@ -12590,8 +12586,8 @@ var Edit$1 = /** @__PURE__ @class */ (function () {
12590
12586
  this.addRowRecord = this.parent.flatData[args.index];
12591
12587
  this.addRowIndex = args.index;
12592
12588
  }
12593
- if (this.parent.editSettings.newRowPosition === 'Child' && isNullOrUndefined(this.addRowRecord)
12594
- && !isNullOrUndefined(this.parent.getSelectedRecords()[0])) {
12589
+ if (this.parent.editSettings.newRowPosition === 'Child' &&
12590
+ !isNullOrUndefined(this.parent.getSelectedRecords()[0])) {
12595
12591
  this.addRowRecord = this.parent.getSelectedRecords()[0];
12596
12592
  }
12597
12593
  if (isNullOrUndefined(this.addRowRecord) && this.parent.getCurrentViewRecords().length > this.addRowIndex &&