How do change pagination formulas

How do change pagination formulas

robmcrobmc Posts: 2Questions: 1Answers: 0
edited July 2015 in Free community support

I am displaying an alphabetised table using pagination, with header rows for each letter. E.g:

A
- Apple
- Avocado
B
- Bear
- Button
C
- Car

Because of this, the info result (accessed via the API as "language": {"info": "Showing START to END of TOTAL entries",}) counts the headers, which are not really results. I.e. from the above it would display "Showing 1 to 8 of 8 entries", when this really should be "1 to 5 of 5 entries".

I have the ability to count and save the header rows as a variable (var headercount = 3 in this instance). How do I modify the START, END, and _TOTAL so that they are accurate on every page when cycled through?

Answers

This discussion has been closed.