@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.
@@ -3750,8 +3750,6 @@ let TreeGrid = TreeGrid_1 = class TreeGrid extends Component {
3750
3750
  }
3751
3751
  summaryElement = this.findnextRowElement(parentTarget);
3752
3752
  if (summaryElement !== null) {
3753
- const rowIndex = summaryElement.rowIndex;
3754
- this.selectRow(rowIndex);
3755
3753
  const cellIndex = e.target.cellIndex;
3756
3754
  const row = summaryElement.children[parseInt(cellIndex.toString(), 10)];
3757
3755
  addClass([row], 'e-focused');
@@ -3772,8 +3770,6 @@ let TreeGrid = TreeGrid_1 = class TreeGrid extends Component {
3772
3770
  }
3773
3771
  summaryElement = this.findPreviousRowElement(parentTarget);
3774
3772
  if (summaryElement !== null) {
3775
- const rIndex = summaryElement.rowIndex;
3776
- this.selectRow(rIndex);
3777
3773
  const cIndex = e.target.cellIndex;
3778
3774
  const rows = summaryElement.children[parseInt(cIndex.toString(), 10)];
3779
3775
  addClass([rows], 'e-focused');
@@ -12181,8 +12177,8 @@ class Edit$1 {
12181
12177
  this.addRowRecord = this.parent.flatData[args.index];
12182
12178
  this.addRowIndex = args.index;
12183
12179
  }
12184
- if (this.parent.editSettings.newRowPosition === 'Child' && isNullOrUndefined(this.addRowRecord)
12185
- && !isNullOrUndefined(this.parent.getSelectedRecords()[0])) {
12180
+ if (this.parent.editSettings.newRowPosition === 'Child' &&
12181
+ !isNullOrUndefined(this.parent.getSelectedRecords()[0])) {
12186
12182
  this.addRowRecord = this.parent.getSelectedRecords()[0];
12187
12183
  }
12188
12184
  if (isNullOrUndefined(this.addRowRecord) && this.parent.getCurrentViewRecords().length > this.addRowIndex &&