© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
1 reply
Jamie Cee

Pagination with options

I have a view
    <div>
        {{ $this->productInfolist }}

        <x-filament::pagination :paginator="$this->data['budgetPagination']" style="margin-top: 15px;"
            :page-options="[1, 5, 10, 20, 50, 'all']" :current-page-option-property="$this->perPage" />
        {{-- /> --}}
    </div>
    <div>
        {{ $this->productInfolist }}

        <x-filament::pagination :paginator="$this->data['budgetPagination']" style="margin-top: 15px;"
            :page-options="[1, 5, 10, 20, 50, 'all']" :current-page-option-property="$this->perPage" />
        {{-- /> --}}
    </div>


And in my Page class, I define
public int | string $perPage = 5;
protected static string $view = 'filament.pages.report';
public int | string $perPage = 5;
protected static string $view = 'filament.pages.report';


Then I have my productInfolist function return an InfoList.

So now pagination works to perPage, but when I change the options, nothing happens. Any ideas?
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

Test Pagination options 10,20,50,100
FilamentFFilament / ❓┊help
9mo ago
Pagination with Livewire
FilamentFFilament / ❓┊help
2y ago
How to make all tables have same options for pagination?
FilamentFFilament / ❓┊help
16mo ago
Pagination and modal with tabs
FilamentFFilament / ❓┊help
2y ago