@datorama/core 22.10.9-rc.4 → 22.10.9-rc.5

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.
@@ -14146,7 +14146,7 @@ var GridService = /** @class */ (function () {
14146
14146
  var _a = params.node, leafGroup = _a.leafGroup, childIndex = _a.childIndex, rowGroupIndex = _a.rowGroupIndex;
14147
14147
  var gridQuery = params.colDef.headerComponentParams.gridQuery;
14148
14148
  var cellClass = "";
14149
- if (gridQuery) {
14149
+ if (gridQuery && gridQuery.api) {
14150
14150
  var columns = gridQuery.api.columns;
14151
14151
  var allDisplayedColumns = columns.getAllDisplayedColumns();
14152
14152
  var col = allDisplayedColumns.find(function (column) {