@syncfusion/ej2-querybuilder 28.2.3 → 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.
@@ -220,7 +220,10 @@ let QueryBuilder = class QueryBuilder extends Component {
220
220
  return modules;
221
221
  }
222
222
  GetRootColumnName(field) {
223
- return this.separator ? field.split(this.separator)[0] : field;
223
+ if (!isNullOrUndefined(field)) {
224
+ return this.separator ? field.split(this.separator)[0] : field;
225
+ }
226
+ return '';
224
227
  }
225
228
  initialize() {
226
229
  if (this.dataColl.length) {