@syncfusion/ej2-treegrid 24.2.4 → 24.2.7

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');
@@ -9669,7 +9665,9 @@ class ExcelExport$1 {
9669
9665
  }
9670
9666
  property = isNullOrUndefined(property) ? Object() : property;
9671
9667
  property.dataSource = new DataManager({ json: dtSrc });
9672
- property.query = args['query'];
9668
+ if (this.parent.aggregates.length > 0) {
9669
+ property.query = args['query'];
9670
+ }
9673
9671
  return property;
9674
9672
  }
9675
9673
  /**
@@ -12181,8 +12179,8 @@ class Edit$1 {
12181
12179
  this.addRowRecord = this.parent.flatData[args.index];
12182
12180
  this.addRowIndex = args.index;
12183
12181
  }
12184
- if (this.parent.editSettings.newRowPosition === 'Child' && isNullOrUndefined(this.addRowRecord)
12185
- && !isNullOrUndefined(this.parent.getSelectedRecords()[0])) {
12182
+ if (this.parent.editSettings.newRowPosition === 'Child' &&
12183
+ !isNullOrUndefined(this.parent.getSelectedRecords()[0])) {
12186
12184
  this.addRowRecord = this.parent.getSelectedRecords()[0];
12187
12185
  }
12188
12186
  if (isNullOrUndefined(this.addRowRecord) && this.parent.getCurrentViewRecords().length > this.addRowIndex &&