Title: Data Table JavaScript not working
Last modified: March 10, 2020

---

# Data Table JavaScript not working

 *  Resolved [gulo92](https://wordpress.org/support/users/gulo92/)
 * (@gulo92)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/data-table-javascript-not-working/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdata-table-javascript-not-working%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/data-table-javascript-not-working/#post-12529269)
 * 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](https://wordpress.org/support/users/gulo92/)
 * (@gulo92)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/data-table-javascript-not-working/#post-12583572)
 * 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/](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](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/data-table-javascript-not-working/#post-12583654)
 * 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.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/data-table-javascript-not-working/#post-12583654)
 * Status: resolved