@syncfusion/ej2-querybuilder 31.2.12 → 31.2.15

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.
@@ -4705,7 +4705,13 @@ var QueryBuilder = /** @__PURE__ @class */ (function (_super) {
4705
4705
  this.customOperators['numberOperator'] = this.customOperators['numberOperator'].concat(numberOper); // tslint:disable-line
4706
4706
  if (this.dataSource instanceof DataManager) {
4707
4707
  this.dataManager = this.dataSource;
4708
- this.executeDataManager(new Query().take(1));
4708
+ if (this.columns && this.columns.length) {
4709
+ this.dataColl = this.columns;
4710
+ this.initControl();
4711
+ }
4712
+ else {
4713
+ this.executeDataManager(new Query().take(1));
4714
+ }
4709
4715
  }
4710
4716
  else {
4711
4717
  this.dataManager = new DataManager(this.dataSource);
@@ -4728,7 +4734,8 @@ var QueryBuilder = /** @__PURE__ @class */ (function (_super) {
4728
4734
  isReplaceDragEle: true,
4729
4735
  isPreventSelect: false,
4730
4736
  abort: '.e-parent-header',
4731
- isDragScroll: true
4737
+ isDragScroll: true,
4738
+ enableAutoScroll: true
4732
4739
  });
4733
4740
  };
4734
4741
  // eslint-disable-next-line @typescript-eslint/no-unused-vars