F
Filamentβ€’2mo ago
frame

v4 Page number pagination

Is the click on page number type of pagination still a thing on v4 (example pic I found from v3)? I can only get previous/next buttons to work. I tried ->paginationMode(PaginationMode::Default), but it's still just previous and next buttons. Maybe I'm missing something. πŸ€”
No description
No description
8 Replies
frame
frameOPβ€’2mo ago
Still simple pagination, though I am on the ListUsers page so I think CanPaginateRecords was already applied
LeandroFerreira
LeandroFerreiraβ€’2mo ago
where are you using this page? Is it a custom page, resource list page..?
frame
frameOPβ€’2mo ago
GitHub
pagination/app/Filament/Resources/Users/Tables/UsersTable.php at ma...
Contribute to Kturva/pagination development by creating an account on GitHub.
frame
frameOPβ€’2mo ago
Maybe i'll check how it worked on v3, but i feel like it had clickable page numbers by default even πŸ€”
Solution
LeandroFerreira
LeandroFerreiraβ€’2mo ago
No description
LeandroFerreira
LeandroFerreiraβ€’2mo ago
add $panel->maxContentWidth(Width::Full) in the AdminPanelProvider and check again please
frame
frameOPβ€’2mo ago
Oh my goodness it was my browser width? So its always "simple" if the displayport is too narrow πŸ™ sorry about everything, I'll fix it with some CSS for myself

Did you find this page helpful?