Were you ever able to solve this? I'm looking to do the same thing.
Navigating a recordset in Filament in a view/infolist
Hello,
we know that the basic structure of a Resource in Filament is to have a Table with records, then you click on "View" or "Edit" on one record, and this opens the View/Infolist or Form for that record. Then you dismiss it and go back to the datatable.
What I need to achieve is to have a structure that reminds the one of Microsoft Access' Forms: I would like to have a view/infolist showing one record with all its fields, then you can go/paginate to other records just pushing a "Next" or "Previous" button, thus filling the View with the next/previous record on the database:
a stupid example to clarify, imagine this is a View or Infolist:
Id: 1
Name: John | Surname: Smith
Eyes: brown | Weight: 58
<<First <Previous 1 - 2 - ... - 58 Next> Last>>
(I click on Next)
Id: 2
Name: Martin | Surname: Whites
Eyes: green | Weight: 70
<<First <Previous 1 - 2 - ... - 58 Next> Last>>
Although I looked in all the Filament documentation, forum and stackoverflow, I couldn't find an example on how to do this "simple" thing. I would be very grateful if someone can point me out in the right strategy to achieve this particular way to navigate/paginate between records of a Resource in a View/Infolist, so not using a Table.
Thank you for any hint.
Please or to participate in this conversation.