© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•4w ago•
5 replies
Hehahohu

Rendering more than 1 table in a single page

✅ Solved4️⃣v4
Hi! I have been trying to render 2 Filament tables (with its Actions) on a Custom Page. It is currently working but I do think it is too verbose and curious if there is a simpler way on doing it.

Presently, I am using a blade view to render the Livewire Table Component (Table B) as a buffer to avoid {{ $this->table }} rendering the configured table (Table A) in the Custom Page as shown in the commented code below. The test2.blade.php file calls the Livewire Component of (Table B).

public function content(Schema $schema): Schema
{
return $schema
->components([
Tabs::make('Production Run Management')
->tabs([
Tab::make('Details') // Table A
->schema([
// View::make('module-mes::table-b-component') --> Calling the livewire component directly render the table rendered by EmbeddedTable::make() (Table A) instead of Table B
//     ->viewData([
//         'record' => $this->record,
//     ])
]),
Tab::make('Items') // Table A
->schema([
EmbeddedTable::make()
]),
Tab::make('Material Usage') // Table B
->schema([
View::make('module-mes::test2') // This open a plain blade that calls the livewire component (Table B)
->viewData([
'record' => $this->record,
])
]),
Tab::make('Report')
]),
]);
}
public function content(Schema $schema): Schema
{
return $schema
->components([
Tabs::make('Production Run Management')
->tabs([
Tab::make('Details') // Table A
->schema([
// View::make('module-mes::table-b-component') --> Calling the livewire component directly render the table rendered by EmbeddedTable::make() (Table A) instead of Table B
//     ->viewData([
//         'record' => $this->record,
//     ])
]),
Tab::make('Items') // Table A
->schema([
EmbeddedTable::make()
]),
Tab::make('Material Usage') // Table B
->schema([
View::make('module-mes::test2') // This open a plain blade that calls the livewire component (Table B)
->viewData([
'record' => $this->record,
])
]),
Tab::make('Report')
]),
]);
}


//test2.blade.php
<div>
@livewire('module-mes::table-b', ['record' => $record]) 
</div>
//test2.blade.php
<div>
@livewire('module-mes::table-b', ['record' => $record]) 
</div>


I don't feel that this is the most optimal way to generate the more than 1 table, but I don't know any other way.

Can anyone tell me if there is a better way on doing this? Thanks cool_tofu
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

Can 1 Custom Page Class have more than 1 table ?
FilamentFFilament / ❓┊help
15mo ago
multi table In Single Page
FilamentFFilament / ❓┊help
3y ago
Show more than one resource inputs into a single Table\Column
FilamentFFilament / ❓┊help
3y ago
Rendering a table in a blade view
FilamentFFilament / ❓┊help
2mo ago