Title: Responsive plugin DataTables error
Last modified: August 30, 2016

---

# Responsive plugin DataTables error

 *  Resolved [GreyNomad](https://wordpress.org/support/users/greynomad/)
 * (@greynomad)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/responsive-plugin-datatables-error/)
 * I apologize if this has been asked and answered already, but I can’t spare the
   time to look through 204 pages of support entries. 🙁
 * I’m using #colspan# tags in my table. When I use responsive=collapse in my shortcode
   I get this error message:
 * DataTables warning: table id=tablepress-1 – Requested unknown parameter ‘2’ for
   row 3. For more information about this error, please see [http://datatables.net/tn/4](http://datatables.net/tn/4)
 * If I use flip or scroll, I don’t get the error, so it looks like collapse mode
   turns DataTables on. Is this required for collapse mode to work? If not, is there
   any way to turn DataTables off in this mode?
 * If it’s a restriction, I can live with scroll mode. There are only a few columns,
   so smartphone users can rotate their phones and see the whole table.
 * ~~ Grey
 * [https://wordpress.org/plugins/tablepress/](https://wordpress.org/plugins/tablepress/)

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/responsive-plugin-datatables-error/#post-6841109)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * Your assumption is correct here. The `collapse` mode relies on the DataTables
   JS library and therefore turns it on. Unfortunately, as the DataTables JS library
   is not compatible with tables that have combined/merged cells (using `#colspan#`),
   this will cause error messages here. Ultimately, this unfortunately means that
   the `collapse` mode can not be used in such tables.
    You will indeed have to 
   switch to the `scroll` mode here.
 * Regards,
    Tobias
 *  Thread Starter [GreyNomad](https://wordpress.org/support/users/greynomad/)
 * (@greynomad)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/responsive-plugin-datatables-error/#post-6841110)
 * Thanks for the quick response. Scroll mode will work fine for our applicaiton.
 * And thanks for an awesome extension!
 * ~~ Grey
 *  Thread Starter [GreyNomad](https://wordpress.org/support/users/greynomad/)
 * (@greynomad)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/responsive-plugin-datatables-error/#post-6841111)
 * .
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/responsive-plugin-datatables-error/#post-6841112)
 * 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/view/plugin-reviews/tablepress)
   here in the plugin directory. Thanks!

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

The topic ‘Responsive plugin DataTables error’ 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/)

 * 4 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/responsive-plugin-datatables-error/#post-6841112)
 * Status: resolved