Skip to content

Spreadsheet: "Clear filters" button not shown when component re-attached #9328

@rolfsmeds

Description

@rolfsmeds

Description

Filters that have been previously applied to a table in Spreadsheet do persist when the component is detached and then re-attached to the UI, but the "Clear filters" button in the filter-dropdown is not shown after detach/re-attach.

Expected outcome

The button should always be shown when the column has active filters.

Minimal reproducible example

Observed in a production app.

Steps to reproduce

  1. Render Spreadsheet with table in the UI.
  2. Apply filters.
  3. Invoke a function that detaches the Spreadsheet from the UI.
  4. Invoke a function that re-attaches the Spreadsheet to the UI.
  5. Observe "Clear filters" button not appearing on the column with filters still applied.

Environment

Vaadin version(s): 25.1

Browsers

Issue is not browser related

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions