v4 Disable table column order session persistence

So, I see that v4 has introduced table column ordering. I've got a table whereby I have not implemented column ordering yet the table order is still being persisted to the session. So any time I add a new table column to my schema, it appears in the wrong spot in the table. I also do NOT have ->reorderableColumns() applied to the table. Is this the expected behaviour? Is there no way to disable the table column order from being persisted to the session? I've tried the following to no avail:
TextColumn::configureUsing(function (TextColumn $column): void {
$column->toggleable(false);
});
TextColumn::configureUsing(function (TextColumn $column): void {
$column->toggleable(false);
});
Have I missed something? It's quite annoying to have to clear the session to be able to see the correct column order of the table as it's defined in the schema. https://filamentphp.com/content/leandrocfe-filament-v4-beta-feature-overview#reordering-table-columns https://filamentphp.com/docs/4.x/tables/columns/overview#reordering-columns
Filament
Filament v4 Beta - Feature Overview by Leandro Ferreira - Filament
A collection of beautiful full-stack components for Laravel. The perfect starting point for your next app. Using Livewire, Alpine.js and Tailwind CSS.
2 Replies
Kenneth Sese
Kenneth Sese3mo ago
@getupkid This will be fixed in an upcoming release: https://github.com/filamentphp/filament/pull/16845
GitHub
V4 fix reorderable columns by archilex · Pull Request #16845 · fi...
Fixes #16720. Also, adds a reset button to reset the table to it's default state (ie, the state determined by the dev). These changes also brought speed improvements when initializing the c...
getupkid
getupkidOP3mo ago
Thanks @Kenneth Sese 👍

Did you find this page helpful?