Skip to content

headerPopupIcon disappears when changing locale with table.setLocale #4927

Description

@Icebreaker83

Describe the bug
When table.setLocale is called to change the locale of the table, headerPopupIcon disappears.
headerPopupIcon is often used with headerPopup to display the filter menus on the column, so basically this bug causes filtering on table to disappear.

Redrawing the table doesn't fix the issue

table.redraw(true)

Workaround is

table.setLocale(value)
const definitions = table.getColumnDefinitions()
table.setColumns(definitions)

Tabulator Info

  • 6.5

Working Example
https://jsfiddle.net/dusan_cankovic/ukaL142p/4/

To Reproduce
A step by step guide to recreate the issue in your JS Fiddle or Codepen:

  1. Click on `Toggle Locale' button
  2. Three dot popup icon to the left of column name disappears

Expected behavior
Locale is changed and headerPopupIcon doesn't disappear

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Win11
  • Browser Chrome
  • Version 150.0.7871.187

Additional context
Add any other context about the problem here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Possible BugA possible bug that needs investigation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions