• Resolved gulo92

    (@gulo92)


    Hi,
    I tried to find out the reason why Data Table JavaScript is not working according to the documentation. However I failed to find out, what exactly the reason is, for javascript files are not working. Is there anyone who can help me?
    Thanks,
    Paul

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    The reason for that is that your table uses #colspan# to merge/connect cells. The external DataTables JS library, with its features like sorting, searching, etc., is not compatible to tables that have merged cells. You’ll have to decide what’s more important for your table. It’s not possible to use both at the same time, sorry.

    Regards,
    Tobias

    Thread Starter gulo92

    (@gulo92)

    Hi Tobias,
    okay I tried to not use the colspan and put a “-” in all the former #colspan# cells on https://www.deine-autoreparatur.de/mercedes-benz-c-klasse-baureihe-204/ (bottom table concerning “Kupplung”). Any idea why it´s still not loading the libary?
    Cheers,
    Paul

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    the reason for this basically is that there’s still a table (ID 100) above that one, which still has #colspan# and the DataTables JS library enabled. You will need to perform this change on all tables on the page.
    So, please also remove all #colspan# from table 100, or turn “Use DataTables” off for that table.

    Regards,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Data Table JavaScript not working’ is closed to new replies.