TableFilter
TableFilter copied to clipboard
Column visibility 'at start' overrides state: columns_visibility - intended?
State (persistence) settings for column visibility are ignored for columns hidden 'at_start' by colsVisibility settings.
- To reproduce *
- Create a table with a hidden column 'x' (via the 'at_start' colsVisibility setting) and 'state: [columns_visibility: true]'.
- Load the page; the column is indeed hidden.
- Use the 'columns' drop-down to make column 'x' visible.
- Reload the page.
-
Expected result * Column 'x' remains visible; the state/persistence settings take precedence over the colsVisibility 'at_start' setting.
-
Observed result * Column 'x' is hidden; the colsVisibility settings take precedence over the persistence (state) setting.
My guess is that this is the intended behavior, but I wanted to confirm that. If so, is there an option I've missed that would change that behavior?
Thanks for TableFilter, it is really a great tool and saved me a LOT of effort.