Number of pages in pagination suddenly disappeared
at first my table was like image number 2, but I don't know when suddenly it changed to image number 1, is there any settings/configuration that I missed? I want to get it back to image number 2 because I need number of pages and showing number of records, fyi I have 3 pages on that table
30 Replies
SimplePagination has been enabled by the looks of it.
how to disable it?
Simple pagination can be auto enabled based on the size of the area where you are rendering the table. If the area is small, simple pagination will be enabled.
I have 2 tables, each has different size but simple pagination still enabled, I want my users can see number of records and pages so that they can see how many records and freely paginate the pages
Is it a custom page?
both are resources but the first one is complete resources and the last one is simple resources
and I don't see anywhere that I enable simple pagination, is it possible it caused by a plugin?
not sure. Was it working?
what was working?
btw, this is my list of plugins in my composer.json
showing the numbers... you said "suddenly disappeared"
right now it's not showing any number...just like the first image in post, but the pagination is working fine
I'm trying to understand the issue better. Can you clarify when exactly it stops working, since you mentioned it happens suddenly?
oh, that is I'm not sure, like I said 'I don't know when', because I'm not really pay attention at first, but when my users point the issue and then I just realized it
maybe I can remove the plugin one by one to see wether it fix the issue or not...
actually if I could I don't want really to do that, but I will do it as last resort if I can't find the solution related to this issue
maybe.. could you share a full image of your resource?
sure...
this is my resource class
this is my manageRecords class
sorry, I mean in the browser
this is the whole page of that resource
How many records does your page have? total?
it has 29 records
So limit the results to 5, do you not get indepth pagination?/
it's the same result as this
Can you provide your List file?
Is this the same for all resources?
The only way we can create what you have above, is by enabling simple pagination as per:
https://filamentphp.com/docs/3.x/tables/advanced#using-simple-pagination
Are you using clusters?
yup I'm using clusters
is that the problem?
Solution
try to add
->maxContentWidth('full')
in the $panel
@Rajunda please let me know if it works βοΈ
yup, it works now π
thanks π