Adding table to Livewire Component

I am adding a filament table to a livewire component, and just wanted to know how I can get the pagination and display limit to work
No description
6 Replies
Son of Andy
Son of AndyOP15mo ago
help pls
Son of Andy
Son of AndyOP15mo ago
No description
Vp
Vp15mo ago
Try this and follow #✅┊rules for code format (no image)
return $table
->query($query)
->columns([
...
])
->paginated([5, 10, 25, 50, 100])
->defaultPaginationPageOption(5);
return $table
->query($query)
->columns([
...
])
->paginated([5, 10, 25, 50, 100])
->defaultPaginationPageOption(5);
And base on the per page image (white bg in select) you need to update your version
Son of Andy
Son of AndyOP15mo ago
thankyou for your help @Vp turns out the wrong styles and scripts where being imported in the app.blade @Vp do you know how to style the table in the blade, its currently got the dark theme due to my system
Vp
Vp15mo ago
If you inspect the elements you can see like fi-ta-*** using these classes you can override it
No description
Son of Andy
Son of AndyOP15mo ago
@Vp thanks, i appreciate your help

Did you find this page helpful?