© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
7 replies
Dhruva

Pivot Column Reorder

Hi everyone,

I'm working with two tables, "Locations" and "Waypoints," that are connected through a pivot table called "location_waypoint." The pivot table includes an additional column called "sort_order." I'm looking for guidance on how to display and reorder the 'sort_order' pivot column within the "Locations" table.


(1) Retrieve the 'sort_order' column from the "location_waypoint" pivot table and show it into the "Locations" table.
(2) Reorder the 'sort_order' column and after reordering it should persist in pivot table.

Any assistance or suggestions on achieving this would be greatly appreciated. Thank you in advance for your help!
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

getTableReorderColumn() pivot column
FilamentFFilament / ❓┊help
3y ago
How to reorder columns by a column in a pivot table
FilamentFFilament / ❓┊help
3y ago
Reorder table records from a pivot relationship
FilamentFFilament / ❓┊help
3y ago
How to reorder many to many by pivot attribute?
FilamentFFilament / ❓┊help
2y ago