• Resolved ajcke

    (@emerinea)


    I have JavaScript libary enabled and set to DataTables for WP-Table Reloaded, and sorting and pagination enabled for my table.

    This worked fine until I updated to version 3.0.1 a few months ago.

    The table displays on the webpage as a static table. The sorting and pagination options have disapeared.

    Any suggestions?

Viewing 5 replies - 16 through 20 (of 20 total)
  • Hi

    Thanks for your quick replies. I ended up installing the basic theme to see if it would work on that as I’ve edited mine.

    It didn’t. I realised it was a simple case of not working on firefox, or at least my version of firefox (4.0.1). It works on IE and Chrome.

    I love the search function. I need the table filterable on 4 criteria though. So in a separate question I’m trying to get a filter grid along the top of a table.

    I’m looking at this code…

    <script language=”javascript” type=”text/javascript”>
    //<![CDATA[
    setFilterGrid(“table1”);
    //]]>
    </script>

    Am I on the right tracks? I’m struggling

    Thanks again for your help
    Mike

    Hi Mike,

    unfortunately, I don’t recognize the code that you have posted, as it is not part of WP-Table Reloaded or the DataTables JavaScript library. I assume that you have from some other plugin?

    And to fix that problem with Firefox, please provide the URL to the page with your table.

    Regards,
    Tobias

    Hi

    Here’s the url
    https://www.bandsforgigs.co.uk/the-band-database

    It works on chrome and IE

    The code I put up is from: https://www.javascriptkit.com/script/script2/tablefilter.shtml

    as I’m trying to make a table dynamically filterable on 4 columns.

    Mike

    Hi Mike,

    thanks for the link.
    I can confirm, that the DataTables features are not working in Firefox, but I have no idea why ??
    I suggest that you try asking in the DataTables forums at https://www.datatables.net/forums, as the developer might be able to help.

    Unfortunately, I also don’t know if that tablefilter script can be used together with DataTables. That might be something that you could also ask there.
    To then include the script, you will need to load a JavaScript file into the page’s header and then that code that you already posted, but with a changed class name in it.

    Best wishes,
    Tobias

    Well thanks for your help and quick replies

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘JavaScript Library Not Working for WP-Table Reloaded’ is closed to new replies.