DMXzone Database Connector PHP Support Product Page
Solved
Pagination does not work
Reported 12 Dec 2013 22:51:35
2
have this problem
12 Dec 2013 22:51:35 Brad Lawryk posted:
I have watched the tutorials on pagination and followed it step by step many times. Everything else in my list works;- Show/hide the buttons depending on which page of recordset it is on
- Shows correct record counts and page count
- Can add, edit and delete records no problem
But yet the paging links do nothing?
Not sure what I am missing but this is the code for my paging links:
<div class="btn-group"><!-- Employer List Paging Start --> <a href="javascript:void(0);" class="btn" onClick="dmxDataBindingsAction('refresh','employerSearch',{'url':'{{employerSearch.link.first}}'})" data-binding-show="{{employerSearch.link.first}}">First</a> <a href="javascript:void(0);" class="btn" onClick="dmxDataBindingsAction('refresh','employerSearch',{'url':'{{employerSearch.link.prev}}'})" data-binding-show="{{employerSearch.link.prev}}">Previous</a> <a href="javascript:void(0);" class="btn" onClick="dmxDataBindingsAction('refresh','employerSearch',{'url':'{{employerSearch.link.next}}'})" data-binding-show="{{employerSearch.link.next}}">Next</a> <a href="javascript:void(0);" class="btn" onClick="dmxDataBindingsAction('refresh','employerSearch',{'url':'{{employerSearch.link.last}}'})" data-binding-show="{{employerSearch.link.last}}">Last</a> </div><!-- Employer List Paging End -->
Replies
Replied 16 Dec 2013 17:19:46
16 Dec 2013 17:19:46 Brad Lawryk replied:
I see there is a note about paging being fixed in next update later this week. Is that why none of my current paging works?
Replied 16 Dec 2013 17:50:25
16 Dec 2013 17:50:25 Brad Lawryk replied:
Yes! My paging all works now! Thanks! I thought maybe I was going crazy.
Replied 16 Dec 2013 19:28:23
16 Dec 2013 19:28:23 Teodor Kuduschiev replied:
Hi Brad,
The update that we released today fixed the pagination bug.
The update that we released today fixed the pagination bug.
Replied 16 Mar 2016 22:34:55
16 Mar 2016 22:34:55 Sandra Sailer replied:
I just purchased the brand new Database Connector for PHP. Apparently, this is still a problem. I followed the instructions exactly and the buttons do nothing. The database will not advance. Help???
Replied 16 Mar 2016 22:37:38
16 Mar 2016 22:37:38 Brad Lawryk replied:
Sounds like you have missed the last step of attaching the behaviour to the button. However if you have followed a tutorial that is related to this post it is likely out dated. This thread is two years old.