@syncfusion/ej2-treegrid 23.1.39 → 23.1.43

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.
@@ -11326,10 +11326,6 @@ var BatchEdit = /** @__PURE__ @class */ (function () {
11326
11326
  this.parent.grid.getRowsObject()[parseInt(rowObjectIndex.toString(), 10)].data = added;
11327
11327
  this.newBatchRowAdded = false;
11328
11328
  }
11329
- if (this.parent.frozenColumns || this.parent.getFrozenColumns()
11330
- && this.parent.grid.getRowsObject()[parseInt(rowObjectIndex.toString(), 10)].edit === 'add') {
11331
- merge(this.currentViewRecords[parseInt(rowObjectIndex.toString(), 10)], this.parent.grid.getRowsObject()[parseInt(rowObjectIndex.toString(), 10)].changes);
11332
- }
11333
11329
  }
11334
11330
  };
11335
11331
  BatchEdit.prototype.beforeBatchAdd = function (e) {
@@ -13147,8 +13143,8 @@ var VirtualTreeContentRenderer = /** @__PURE__ @class */ (function (_super) {
13147
13143
  if (isNullOrUndefined(this.observer["" + containerRect])) {
13148
13144
  this.observer["" + containerRect] = this.observers["" + containerRect];
13149
13145
  }
13150
- if (isNullOrUndefined(this.parent['clipboardModule'].treeGridParent.editModule) || args.selectedIndex !== 0 ||
13151
- isNullOrUndefined(this.parent['clipboardModule'].treeGridParent.editModule['addRowIndex'])) {
13146
+ if (isNullOrUndefined(this.parent.clipboardModule['treeGridParent'].editModule) || args.selectedIndex !== 0 ||
13147
+ isNullOrUndefined(this.parent.clipboardModule['treeGridParent'].editModule['addRowIndex'])) {
13152
13148
  _super.prototype["" + selectVirtualRow].call(this, args);
13153
13149
  }
13154
13150
  };
@@ -13764,7 +13760,12 @@ var VirtualScroll$1 = /** @__PURE__ @class */ (function () {
13764
13760
  }
13765
13761
  this.expandCollapseRec = null;
13766
13762
  startIndex = startIndex < 0 ? 0 : startIndex;
13767
- pageingDetails.result = visualData.slice(startIndex, endIndex);
13763
+ if (endIndex === 0 && visualData.length > 0) {
13764
+ pageingDetails.result = visualData;
13765
+ }
13766
+ else {
13767
+ pageingDetails.result = visualData.slice(startIndex, endIndex);
13768
+ }
13768
13769
  this.prevstartIndex = startIndex;
13769
13770
  this.prevendIndex = endIndex;
13770
13771
  }
@@ -13898,7 +13899,7 @@ var Freeze$1 = /** @__PURE__ @class */ (function () {
13898
13899
  Freeze$$1.prototype.dblClickHandler = function (e) {
13899
13900
  if (parentsUntil(e.target, 'e-rowcell') &&
13900
13901
  this.parent.grid.editSettings.allowEditOnDblClick && this.parent.editSettings.mode !== 'Cell' && (!e.target['classList'].contains('e-treegridcollapse') && !e.target['classList'].contains('e-treegridexpand'))) {
13901
- this.parent.grid.editModule.startEdit(parentsUntil(e.target, 'e-row'));
13902
+ this.parent.startEdit(parentsUntil(e.target, 'e-row'));
13902
13903
  }
13903
13904
  };
13904
13905
  Freeze$$1.prototype.dataBoundArg = function () {