Black Friday: Save up to 65% on DMXzone with DMXBF26 and 30% on Wappler yearly plans with WAPPLERBF26. Ends 30 November!

HTML5 Data Bindings Support Product Page

Answered

Is it possible to hide paging controls when there aren't enough results?

Asked 21 Apr 2014 17:12:32
1
has this question
21 Apr 2014 17:12:32 Steve Skinner posted:
I have a directory for a client that is about to go live.
latc.la/directory.asp

Everything I've set up with the HTML5 Data Bindings is working correctly but I was wondering if there was a way to HIDE the paging controls when there isn't enough results to show a next page, and similarly - hide the "previous" paging button until you are on something other than the first page.

Is there a way to do this within the Data Bindings panel or otherwise?

Replies

Replied 22 Apr 2014 08:34:23
22 Apr 2014 08:34:23 Teodor Kuduschiev replied:
Hello Steve,
Of course this is possible. Please check the following tutorial describing it: www.dmxzone.com/go/22082/paging-options-in-the-dmxzone-database-connector
Replied 22 Apr 2014 17:01:16
22 Apr 2014 17:01:16 Steve Skinner replied:
I got this working. Thanks as always for the great support!

One extra thing on this though...

Every time the page loads in google chrome, there is a brief second when you can see the pagers (that are hidden when not enough results) as well as the field layout without the data.



It lasts only a brief instant, like a flash, but it happens every time you change the classification selection.
latc.la/directory_byclass.asp?classID=7

Obviously, this is a minor issue and only occurs in google chrome. Would you chalk this up to a browser anomaly or is this something the could be improved in the code somehow?

Reply to this topic