Skip to content

Column widths are not retained and not persisted #3163

Description

@abalabin-bamfunds

Bug Report

Steps to Reproduce:

Open the superstore example. Resize the first Sales column to be wide (or narrow). Flip to the 'untitled' tab, flip back. The Sales column is back to its auto-fit size.

After columns are manually resized, open debug JSON panel one can see that column sizes are not written into plugin_config/columns.

The only test I found looking at column width persistence is skipped in datagrid.spec.ts. I think maybe refactoring in 4.1 introduced a regression?

Expected Result:

I expect when user resizes a column manually the size to be retained and persisted.

Actual Result:

Columns revert to auto-fit sizes.

Environment:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions