Title: Javascript enabled &#8211; th cells in extra table
Last modified: July 11, 2020

---

# Javascript enabled – th cells in extra table

 *  Resolved [sue007](https://wordpress.org/support/users/sue007/)
 * (@sue007)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/javascript-enabled-th-cells-in-extra-table/)
 * Hi,
 * every time I enable the javascript option and horizontal scrolling it puts the
   thead and th cells in an extra table? Can I avoid this?
 * Susanne
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjavascript-enabled-th-cells-in-extra-table%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)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/javascript-enabled-th-cells-in-extra-table/#post-13108585)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * This is caused by showing the tables in expandable tabs. These make it impossible
   for the JavaScript code to calculate column widths.
 * One idea: Can you maybe turn off the “Use DataTables” checkbox to turn off the
   JavaScript features, and instead use the `scroll` mode that the TablePress Extension
   from [https://tablepress.org/extensions/responsive-tables/](https://tablepress.org/extensions/responsive-tables/)
   offers. This works without JavaScript.
 * Regards,
    Tobias
 *  Thread Starter [sue007](https://wordpress.org/support/users/sue007/)
 * (@sue007)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/javascript-enabled-th-cells-in-extra-table/#post-13114850)
 * Thank you Tobias, this works very well!
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/javascript-enabled-th-cells-in-extra-table/#post-13115163)
 * Hi,
 * no problem, you are very welcome! 🙂 Good to hear that this helped!
 * Best wishes,
    Tobias
 * P.S.: In case you haven’t, please [rate TablePress](https://wordpress.org/support/plugin/tablepress/reviews/#new-post)
   here in the plugin directory. Thanks!

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

The topic ‘Javascript enabled – th cells in extra table’ 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/)

## Tags

 * [scrolling](https://wordpress.org/support/topic-tag/scrolling/)

 * 3 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/javascript-enabled-th-cells-in-extra-table/#post-13115163)
 * Status: resolved