@syncfusion/ej2-treegrid 22.1.39 → 22.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.
@@ -13203,7 +13203,7 @@ class VirtualScroll$1 {
13203
13203
  this.parent.grid.getContent().firstElementChild.scrollTop = 0;
13204
13204
  this.parent.grid.notify(virtualActionArgs, { setTop: true });
13205
13205
  }
13206
- if ((requestType === 'save' && pageingDetails.actionArgs.index >= (counts.count - this.parent.grid.pageSettings.pageSize)) || (requestType === 'refresh' && this.parent['isGantt'] && this.parent['isAddedFromGantt'])) {
13206
+ if ((requestType === 'save' && (pageingDetails.actionArgs.index >= (counts.count - this.parent.grid.pageSettings.pageSize)) || (requestType === 'refresh' && this.parent['isGantt'] && this.parent['isAddedFromGantt']) && (counts.count === this.prevendIndex + 1))) {
13207
13207
  startIndex = counts.startIndex + (counts.count - counts.endIndex);
13208
13208
  endIndex = counts.count;
13209
13209
  this.parent['isAddedFromGantt'] = false;