Implementation Of Tables within Expandable Row
Hi fellas, I Have a bit of challange to create expandable row with tabs within. And each tab should have own table (Preferablly livewire with implementation of Filament tables), is there any way to do it?
6 Replies
What does tabs have to do with expandable row? Not totally following the question.
Tabs are essentially just predefined filters, but I’m not seeing the connection to expandable rows.
Those tabs, should "mimick" filters. Let's say we have main Entity which will have it's main table. And each table row should be exapandable. When i click on expanded row it should have tabs for 1-2-3-4 relationships or how many that model has. When i click on relationship 1 it should trigger and create new table within that expanded row to show relationship table.
Hope i Explained a bit more here
That doesn’t make sense. At least to me. An expandable row is just a toggle to show/hide content for the row. But a filter changes the entire records shown for the table.
Correct, show/hide content. But when showing content i want to show additional tables that this $record->row has. Kinda like "filter" maybe i was wrong for calling it filter
Sorry, not following. I don’t understand showing and hiding additional tables in the context of a table row.
I will see tomorrow to get screenshot of current implementation with custom view - not with filament. Hope that will explain a bit better then my words 🙂
@awcodes Sorry it took longer was supre busy, got time to record now (But also managed to create desired feature in filament), this is what i was talking of https://www.awesomescreenshot.com/video/33762669?key=cac3175d736e327c7a4efe450a24742f