@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.
@@ -4656,6 +4656,7 @@ var TreeGrid = /** @__PURE__ @class */ (function (_super) {
4656
4656
  this.grid.pagerTemplate = this.pagerTemplate;
4657
4657
  this.grid.showColumnMenu = this.showColumnMenu;
4658
4658
  this.grid.allowSorting = this.allowSorting;
4659
+ this.grid.allowMultiSorting = this.allowMultiSorting;
4659
4660
  this.grid.allowFiltering = this.allowFiltering;
4660
4661
  this.grid.enableVirtualization = this.enableVirtualization;
4661
4662
  this.grid.enableColumnVirtualization = this.enableColumnVirtualization;
@@ -9353,7 +9354,7 @@ var RowDD = /** @__PURE__ @class */ (function () {
9353
9354
  var regex = /index(\d+)|level(\d+)/g;
9354
9355
  var parentIndexLevel = e === null || e === undefined ? undefined : e.cells["" + treeColIndex].className.match(regex);
9355
9356
  var dropIndexLevel = targetRow[0].cells["" + treeColIndex].className.match(regex);
9356
- if (isNullOrUndefined(dropIndexLevel) || isNullOrUndefined(dropIndexLevel)) {
9357
+ if (isNullOrUndefined(dropIndexLevel) || isNullOrUndefined(dropIndexLevel) || isNullOrUndefined(parentIndexLevel)) {
9357
9358
  return true;
9358
9359
  }
9359
9360
  var parentLevel = +parentIndexLevel[1].match(/\d+/)[0];
@@ -9630,6 +9631,9 @@ var RowDD = /** @__PURE__ @class */ (function () {
9630
9631
  RowDD.prototype.removetopOrBottomBorder = function () {
9631
9632
  var border = [];
9632
9633
  border = [].slice.call(this.parent.element.querySelectorAll('.e-dropbottom, .e-droptop'));
9634
+ if (this.parent.rowDropSettings.targetID) {
9635
+ border = [].slice.call(document.querySelectorAll('.e-dropbottom, .e-droptop'));
9636
+ }
9633
9637
  if (border.length) {
9634
9638
  this.addRemoveClasses(border, false, 'e-dropbottom');
9635
9639
  this.addRemoveClasses(border, false, 'e-droptop');
@@ -9719,6 +9723,7 @@ var RowDD = /** @__PURE__ @class */ (function () {
9719
9723
  if (dropElement && dropElement.id === this.parent.rowDropSettings.targetID) {
9720
9724
  var srcControl = dropElement.ej2_instances[0];
9721
9725
  srcControl.rowDragAndDropModule.updateIcon(args.rows, rowIdx, args);
9726
+ this.dropPosition = srcControl.rowDragAndDropModule.dropPosition;
9722
9727
  }
9723
9728
  }
9724
9729
  if (args.target && closest(args.target, '#' + tObj.rowDropSettings.targetID)) {