autoql-fe-utils 1.0.25 → 1.0.26

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.
@@ -15998,11 +15998,19 @@
15998
15998
  const stringColumnIndices = [];
15999
15999
  const multiSeriesIndex = getMultiSeriesColumnIndex(columns);
16000
16000
  const dateColumnIndex = getDateColumnIndex(columns);
16001
- columns.forEach((col, index) => {
16002
- if (isColumnStringType(col) && index !== multiSeriesIndex && col.is_visible) {
16003
- stringColumnIndices.push(index);
16004
- }
16005
- });
16001
+ if (supportsPivot) {
16002
+ columns.forEach((col, index) => {
16003
+ if (col.groupable) {
16004
+ stringColumnIndices.push(index);
16005
+ }
16006
+ });
16007
+ } else {
16008
+ columns.forEach((col, index) => {
16009
+ if (isColumnStringType(col) && index !== multiSeriesIndex && col.is_visible) {
16010
+ stringColumnIndices.push(index);
16011
+ }
16012
+ });
16013
+ }
16006
16014
  const drilldownIndex = columns.findIndex((col) => col.isDrilldownColumn);
16007
16015
  if (drilldownIndex >= 0) {
16008
16016
  return {