@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.
@@ -4634,7 +4634,13 @@ let QueryBuilder = class QueryBuilder extends Component {
4634
4634
  this.customOperators['numberOperator'] = this.customOperators['numberOperator'].concat(numberOper); // tslint:disable-line
4635
4635
  if (this.dataSource instanceof DataManager) {
4636
4636
  this.dataManager = this.dataSource;
4637
- this.executeDataManager(new Query().take(1));
4637
+ if (this.columns && this.columns.length) {
4638
+ this.dataColl = this.columns;
4639
+ this.initControl();
4640
+ }
4641
+ else {
4642
+ this.executeDataManager(new Query().take(1));
4643
+ }
4638
4644
  }
4639
4645
  else {
4640
4646
  this.dataManager = new DataManager(this.dataSource);
@@ -4657,7 +4663,8 @@ let QueryBuilder = class QueryBuilder extends Component {
4657
4663
  isReplaceDragEle: true,
4658
4664
  isPreventSelect: false,
4659
4665
  abort: '.e-parent-header',
4660
- isDragScroll: true
4666
+ isDragScroll: true,
4667
+ enableAutoScroll: true
4661
4668
  });
4662
4669
  }
4663
4670
  // eslint-disable-next-line @typescript-eslint/no-unused-vars