Save Toggleable Columns to user table

Is there a way to save toggleable columns setting to the user table. I think there is a way to save to session, but once session is removed, options are gone. It would seem that there would need to be an event that fires when the user makes changes to the toggleable columns and then at that point access a variable that should which columns are shown so that the options could be saved to the user table at that time. Does such an event exist? Does a variable with the toggleable columns status exist?
2 Replies
Kenneth Sese
Kenneth Sese2w ago
Hi @Keith S The Advanced Tables plugin was built specifically to handle this situation, and all the edge cases around it: https://filamentphp.com/plugins/kenneth-sese-advanced-tables Feel free to DM if you have any questions.
Filament
Advanced Tables (formerly Filter Sets) by Kenneth Sese - Filament
Supercharge your tables with powerful features like user customizable views, enhanced filter tabs, reorderable columns, convenient view management, and more. Compatible with Resource Panel Tables, Relation Managers, Table Widgets, and Table Builder!
Keith S
Keith SOP2w ago
Thanks. I was aware of this. It's a little overkill for a non-profit project done at no change and I only need one feature. 😆

Did you find this page helpful?