@syncfusion/ej2-treegrid 29.1.33 → 29.1.39

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.
@@ -4361,6 +4361,7 @@ let TreeGrid = TreeGrid_1 = class TreeGrid extends Component {
4361
4361
  this.grid.pagerTemplate = this.pagerTemplate;
4362
4362
  this.grid.showColumnMenu = this.showColumnMenu;
4363
4363
  this.grid.allowSorting = this.allowSorting;
4364
+ this.grid.allowMultiSorting = this.allowMultiSorting;
4364
4365
  this.grid.allowFiltering = this.allowFiltering;
4365
4366
  this.grid.enableVirtualization = this.enableVirtualization;
4366
4367
  this.grid.enableColumnVirtualization = this.enableColumnVirtualization;
@@ -9010,7 +9011,7 @@ class RowDD {
9010
9011
  const regex = /index(\d+)|level(\d+)/g;
9011
9012
  const parentIndexLevel = e === null || e === undefined ? undefined : e.cells[`${treeColIndex}`].className.match(regex);
9012
9013
  const dropIndexLevel = targetRow[0].cells[`${treeColIndex}`].className.match(regex);
9013
- if (isNullOrUndefined(dropIndexLevel) || isNullOrUndefined(dropIndexLevel)) {
9014
+ if (isNullOrUndefined(dropIndexLevel) || isNullOrUndefined(dropIndexLevel) || isNullOrUndefined(parentIndexLevel)) {
9014
9015
  return true;
9015
9016
  }
9016
9017
  const parentLevel = +parentIndexLevel[1].match(/\d+/)[0];
@@ -9286,6 +9287,9 @@ class RowDD {
9286
9287
  removetopOrBottomBorder() {
9287
9288
  let border = [];
9288
9289
  border = [].slice.call(this.parent.element.querySelectorAll('.e-dropbottom, .e-droptop'));
9290
+ if (this.parent.rowDropSettings.targetID) {
9291
+ border = [].slice.call(document.querySelectorAll('.e-dropbottom, .e-droptop'));
9292
+ }
9289
9293
  if (border.length) {
9290
9294
  this.addRemoveClasses(border, false, 'e-dropbottom');
9291
9295
  this.addRemoveClasses(border, false, 'e-droptop');
@@ -9375,6 +9379,7 @@ class RowDD {
9375
9379
  if (dropElement && dropElement.id === this.parent.rowDropSettings.targetID) {
9376
9380
  const srcControl = dropElement.ej2_instances[0];
9377
9381
  srcControl.rowDragAndDropModule.updateIcon(args.rows, rowIdx, args);
9382
+ this.dropPosition = srcControl.rowDragAndDropModule.dropPosition;
9378
9383
  }
9379
9384
  }
9380
9385
  if (args.target && closest(args.target, '#' + tObj.rowDropSettings.targetID)) {