Page buttons not appearing even though I'm setting "recordsTotal" value

Page buttons not appearing even though I'm setting "recordsTotal" value

juleejulee Posts: 16Questions: 7Answers: 0

I have a total of 62 records in my database. My code looks like this:

I'm getting data back but ... it doesn't display page buttons so I can page through the results. By default, I'm asking for 10 records at a time.

On my web page it says "Showing 0 to 0 of 0 entries (filtered from 62 total entries)"
But I am able to use the drop down menu on top that let's you select the number of records to show at a time... and i can change it to 100. It does seem to list all records. But it always says "Showing 0 to 0 of 0 entries (filtered from 62 total entries)"
Any help would be appreciated.

Answers

  • juleejulee Posts: 16Questions: 7Answers: 0

    I changed the "recordsFiltered" value from 0 to 62, to match my total record count, and now the page buttons appear.
    is this the correct way to fix the problem?

This discussion has been closed.