You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using the useDataTableColumns hook (as described in the Column Toggling Example), new columns added to the columns prop do not appear (in the table or in effectiveColumns) until resetColumnsOrder is called (or the local storage key ${key}-columns-order is cleared)
To Reproduce
Steps to reproduce the behavior:
Copy the Column Toggling Example
Load the page
Add a column to the columns prop (one which has not been used before)
Observe that the new column does not appear
Expected behavior
The column should appear
Screenshots
Happy to provide a screen recording if helpful in reproducing the issue
Desktop (please complete the following information):
OS: macOS
Browser Chrome
Version 124
The text was updated successfully, but these errors were encountered:
Describe the bug
When using the
useDataTableColumns
hook (as described in the Column Toggling Example), new columns added to thecolumns
prop do not appear (in the table or ineffectiveColumns
) untilresetColumnsOrder
is called (or the local storage key${key}-columns-order
is cleared)To Reproduce
Steps to reproduce the behavior:
Expected behavior
The column should appear
Screenshots
Happy to provide a screen recording if helpful in reproducing the issue
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: