ListOperation with sub-records #439
-
I remember some time ago seeing in the demo a setupListOperation type display in which each record had a small + symbol on the left, clicking on which you could see the connected records, such as invoices and invoice lines. How do you set up a list like this? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi Mauro!
|
Beta Was this translation helpful? Give feedback.
Hi Mauro!
Details Row
That
[+]
button is the details row, you can read more about it in the documentation: https://backpackforlaravel.com/docs/5.x/crud-operation-list-entries#details-row-1You can place there anything you want, it's up to you to create the view with anything you want 👌
Relation Tables
If you want to have a table with the connected records (relationships), you have an addon from @izica that does exactly that;
https://github.com/izica/relations-widgets-for-backpack
You can place many of this widgets inside the details row 👌