Forums Forums Search & Filter Pro Issue With Table & Ajax rendering

Viewing 5 posts - 1 through 5 (of 5 total)
  • Trevor
    #236669

    It rather depends on the Ajax Container setting. Are you able to send me a live link/URL to your search page so I can take a look (with Ajax on, if you can suffer it being on, as your site might be live)?

    Anonymous
    #236687

    Thanks for the quick response.

    Here’s the link to the live site as set up in the video.

    http://skifonixsounds.com/sampleshare/copyright-free-music-home-page

    I can also provide login info if needed.

    Thanks !

    Anonymous
    #236698

    Hi Trevor,

    So I’ve been given this script by Ninja Table and they’ve said the following…

    Hello Lewis,

    Understood your situation here, if you want to force the pagination, you need to run this script while after each filtering. It will enable the pagination again.

    We are not familiar with the plugin you are using, you might have to get their help to run this script after each filtering.

    jQuery(function($){
        $('.table').footable({
            "paging": {
                "enabled": true
            }
        });
    });

    Thanks

    Would it be possible to direct me to how I could add this script to run this script after each filtering?

    Thanks in advance,

    Anonymous
    #236714

    Managed to get it working with the below code put in the footer…

    <script>(function ( $ ) {
      "use strict";
      $(document).on("sf:ajaxfinish", ".searchandfilter", function(){
    
     $('.table').footable({
            "paging": {
                "enabled": true
            }
        });
    
      });
    }(jQuery));</script>

    Just posting for others who might find useful.

    Will close topic, cheers guys!

    Trevor
    #236813
    This reply has been marked as private.
Viewing 5 posts - 1 through 5 (of 5 total)