Pagination according to https://trongate.io/docs/information/the-pagination-helper
not working: the links are correctly shown, but also ALL rows. How do you add/use methods like _reduce_rows?
Pagination not working
3 years ago
3 years ago
#1
3 years ago
#2
Hello and welcome,
First, How did you create your module, Trongate app or manually?
Second, can you post some code to help figure out what is going on?
Use [ ] with "code" inside the square brackets, at beginning and [ ] with "/code" inside the square brackets, at end
Dan
First, How did you create your module, Trongate app or manually?
Second, can you post some code to help figure out what is going on?
Use [ ] with "code" inside the square brackets, at beginning and [ ] with "/code" inside the square brackets, at end
Dan
3 years ago
#3
Hello,
I posted my question too quickly. When I examined the Trongate code closer I realised that I had to add the functions _get_limit(), _reduce_rows() and _get_offset() as well.
Now it's working fine, so this call may be closed.
Gr. Albert
I posted my question too quickly. When I examined the Trongate code closer I realised that I had to add the functions _get_limit(), _reduce_rows() and _get_offset() as well.
Now it's working fine, so this call may be closed.
Gr. Albert
3 years ago
#4
Please close the thread Albert, and award Dan as first responding. Sometimes the answer comes to you after a brief pause, glad you worked it out!
Happy New Year ?
Happy New Year ?