Simon Delolme
12/17/2025, 9:35 AMkapa.ai
12/17/2025, 9:35 AMjsx const config = { columnSizing: { defaultWidth: "autoresizeAll", growToFit: true, }, }; - defaultWidth: "autoresizeAll" – columns resize to fit their content. - growToFit: true – visible columns stretch to occupy the full table width. [[Pivot auto‑resizing](https://www.gooddata.com/docs/gooddata-ui/latest/references/visual_components/pivot_table/#auto-resizing); [Grow to fit](https://www.gooddata.com/docs/gooddata-ui/latest/references/visual_components/pivot_table/#resizing-visible-columns-to-fill-up-the-container)] This reduces horizontal scrolling, but it does not guarantee that scrollbars will never appear (e.g., many narrow columns or very small containers). ### 2. Enable automatic reset of column sizing on resize There is a known issue where tables with growToFit may not expand correctly after container width changes (e.g., tab switch, layout change) until a refresh. To address this, there is a setting/prop to auto‑reset column sizing when the container or column structure changes: - Global setting: ts enablePivotTableAutoSizeReset?: boolean; “Enable automatic reset of column sizing in pivot table when container width changes or column structure changes. This fixes issues where tables with growToFit don't expand to full width after tab switching.” [[Settings flag](https://sdk.gooddata.com/gooddata-ui-apidocs/v11.11.0/docs/sdk-model.isettings.enablepivottableautosizereset.html#isettingsenablepivottableautosizereset-property)] - For PivotTableNext (experimental config): ts enablePivotTableAutoSizeReset?: boolean; // default: true Same behavior and description. [[PivotTableNext config](https://sdk.gooddata.com/gooddata-ui-apidocs/v11.11.0/docs/sdk-ui-pivot.pivottablenextexperimentalconfig.enablepivottableautosizereset.html#pivottablenextexperimentalconfigenablepivottableautosizereset-property)] Make sure this is enabled in your environment; it specifically targets cases where tables don’t re‑fit after layout changes, which sounds similar to “works after refresh / different between Edit and View”. ### 3. Dashboard layout constraints Dashboards use a responsive 12‑column grid with breakpoints; widgets can resize and reflow between rows when screen size changes. [[Dashboard layout](https://www.gooddata.com/docs/cloud/create-dashboards/dashboard-layout/#configure-dashboard-layout)] Key points: - Widgets have minimum widths (most 2 grid columns; Geo charts 6) to keep them readable. [[Dashboard layout](https://www.gooddata.com/docs/cloud/create-dashboards/dashboard-layout/#configure-dashboard-layout)] - Small pivot tables on dashboards are automatically resized to fill the widget width. [[Dashboard layout](https://www.gooddata.com/docs/cloud/create-dashboards/dashboard-layout/#configure-dashboard-layout)] Because of these constraints, a table that fits on a 15" screen may wrap or reflow differently on a 13" screen, which can reintroduce a horizontal scrollbar even if the table itself is trying to grow‑to‑fit. ### 4. What is not documented - The docs do not describe the “Header Wrap Column” feature or guarantee that it will prevent horizontal scrollbars. - There is no documented way to force tables to always avoid horizontal scrollbars on all screen sizes; behavior depends on: - widget/container width (dashboard layout, embedding wrapper), - number of columns and their content, - column sizing configuration. ### Practical recommendations Based on the available docs: 1. If you use GoodData.UI for embedding, configure the pivot table with: jsx const config = { columnSizing: { defaultWidth: "autoresizeAll", growToFit: true, }, }; and ensure enablePivotTableAutoSizeReset is enabled (globally or via PivotTableNext config). [[Auto‑resizing](https://www.gooddata.com/docs/gooddata-ui/latest/references/visual_components/pivot_table/#auto-resizing); [Grow to fit](https://www.gooddata.com/docs/gooddata-ui/latest/references/visual_components/pivot_table/#resizing-visible-columns-to-fill-up-the-container); [Auto‑size reset](https://sdk.gooddata.com/gooddata-ui-apidocs/v11.11.0/docs/sdk-model.isettings.enablepivottableautosizereset.html#isettingsenablepivottableautosizereset-property)] 2. On dashboards, check widget widths at different breakpoints and avoid making table widgets too narrow; the responsive grid may otherwise force wrapping and cause scrollbars. [[Dashboard layout](https://www.gooddata.com/docs/cloud/create-dashboards/dashboard-layout/#configure-dashboard-layout)] If you’re already using these settings and still see inconsistent behavior (especially the Edit vs View difference), that likely requires a support investigation, as similar layout/width issues have been escalated before. [[Random width bug](https://gooddataconnect.slack.com/archives/C04S1MSLEAW/p1760951555975889?thread_ts=1760951555.975889&cid=C04S1MSLEAW)]Simon Delolme
12/17/2025, 9:47 AMJulius Kos
12/17/2025, 1:28 PMSimon Delolme
12/17/2025, 2:26 PMJulius Kos
12/17/2025, 3:25 PMSimon Delolme
12/17/2025, 3:44 PMSimon Delolme
12/18/2025, 8:53 AMJoseph Heun
12/18/2025, 1:31 PMSimon Delolme
12/18/2025, 2:59 PM