headerPopupIcon disappears when changing locale with table.setLocale
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:
- Click on `Toggle Locale' button
- 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.
Source: tabulator-tables/tabulator