@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.
@@ -266,7 +266,10 @@ var QueryBuilder = /** @__PURE__ @class */ (function (_super) {
266
266
  return modules;
267
267
  };
268
268
  QueryBuilder.prototype.GetRootColumnName = function (field) {
269
- return this.separator ? field.split(this.separator)[0] : field;
269
+ if (!isNullOrUndefined(field)) {
270
+ return this.separator ? field.split(this.separator)[0] : field;
271
+ }
272
+ return '';
270
273
  };
271
274
  QueryBuilder.prototype.initialize = function () {
272
275
  if (this.dataColl.length) {