F
Filament14mo ago
tuyz

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
tuyz
tuyzOP14mo ago
help pls
tuyz
tuyzOP14mo ago
No description
Vp
Vp14mo 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
tuyz
tuyzOP14mo 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
Vp14mo ago
If you inspect the elements you can see like fi-ta-*** using these classes you can override it
No description
tuyz
tuyzOP14mo ago
@Vp thanks, i appreciate your help
Want results from more Discord servers?
Add your server