Title: Tablepress header problem
Last modified: March 17, 2023

---

# Tablepress header problem

 *  Resolved [alphatechlogix](https://wordpress.org/support/users/alphatechlogix/)
 * (@alphatechlogix)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/tablepress-header-problem/)
 * Hi, 
   Hope you are all doing great. i have an issue while when i am adding tables
   in a tab of wp bakery first tab table show correctly , while other tabs table
   header width create problem. i check in console it show width to all column is
   equal to zero. so that’s why it create this problem. please check this link. 
   [https://francescol110.sg-host.com/prodotti/giubileo/](https://francescol110.sg-host.com/prodotti/giubileo/)

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/tablepress-header-problem/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/tablepress-header-problem/page/2/?output_format=md)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/tablepress-header-problem/#post-16570936)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * The cause for this is that the tables are shown in those collapsable tabs. You
   will need a custom JavaScript solution to trigger a recalculation, similar to
   this thread: [https://wordpress.org/support/topic/tables-within-elementor-components-tabs/](https://wordpress.org/support/topic/tables-within-elementor-components-tabs/)
 * Regards,
   Tobias
 *  Thread Starter [alphatechlogix](https://wordpress.org/support/users/alphatechlogix/)
 * (@alphatechlogix)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/tablepress-header-problem/#post-16570962)
 * i applied that code in my case but its not working. can you please check why ?
   i provide you link above, also can check dev console.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/tablepress-header-problem/#post-16571000)
 * Hi,
 * I’m afraid that the exact code that you would need to use depends on the exact
   solution that your site (likely the theme) is using for these tabs. As there 
   are so many different implementations for such tabs, there’s just no way for 
   me to provide a general solution 🙁 So, the example from my link should be seen
   as a starting point. Assisting with finding the exact code for a certain site
   is something that I can only offer for users of a [TablePress Premium license](https://tablepress.org/premium/).
   Thanks for your understanding.
 * Regards,
   Tobias
 *  Thread Starter [alphatechlogix](https://wordpress.org/support/users/alphatechlogix/)
 * (@alphatechlogix)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/tablepress-header-problem/#post-16571686)
 * When i am writing it show me this error in console. i try to change classes according
   to my theme. can you please check in console at console into my site. please….
 * Uncaught TypeError: jQuery(…).DataTable is not a function
   at (index):1148:46i
   add this code` jQuery('.wd-tab-content-wrapper .dataTable').DataTable({retrieve:
   true}).columns.adjust().draw();jQuery('.wd-nav-tabs li').one('click', function(){
   jQuery('#'+this.getAttribute('aria-controls')+' .dataTable').DataTable({retrieve:
   true}).columns.adjust().draw();});
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/tablepress-header-problem/#post-16572146)
 * Hi,
 * adjusting the CSS classes alone will likely not be sufficient here, as all those
   solutions also use different means to “connect” a button with the corresponding
   content of a tab. (The above example uses the `aria-controls` attribute, while
   others use CSS classes or also just plain counting).
 * Now, the error that you are seeing likely is the consequence of this code running
   too early. You might however get around that by removing the first part of the
   code. Also, it seems that your site also loads the DataTables JS library a second
   time, from a CDN, which is not needed and might interfere.
 * Regards,
   Tobias
 *  Thread Starter [alphatechlogix](https://wordpress.org/support/users/alphatechlogix/)
 * (@alphatechlogix)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/tablepress-header-problem/#post-16572233)
 * 1- so what is the solution? do i need to contact with theme support? or do you
   have any solution? by the way i am using woodmart. 
   2- also is possible to make
   header fixed with horizontal scroll by sccript? can you provide?
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/tablepress-header-problem/#post-16572249)
 * Hi,
 * Having a fixed header row is possible with the [Fixed Rows and Columns](https://tablepress.org/modules/datatables-fixedheader-fixedcolumns/)
   feature module that is part of the [TablePress Premium versions](https://tablepress.org/pricing/).
   Buying such a license also brings you priority email support, which would be 
   a way to get direct help for fixing the header row problem.
 * Best wishes,
   Tobias
 *  Thread Starter [alphatechlogix](https://wordpress.org/support/users/alphatechlogix/)
 * (@alphatechlogix)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/tablepress-header-problem/#post-16572253)
 * and for this?
   1- so what is the solution? do i need to contact with theme support?
   or do you have any solution? by the way i am using woodmart.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/tablepress-header-problem/#post-16572274)
 * Hi,
 * as part of the priority support that is available for the TablePress Premium 
   plans, I’ll be happy to look into this for you to find the necessary code.
 * Best wishes,
   Tobias
 *  Thread Starter [alphatechlogix](https://wordpress.org/support/users/alphatechlogix/)
 * (@alphatechlogix)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/tablepress-header-problem/#post-16572275)
 * i do not want priority support, but atleast provide me solution in any time. 
   or tell how to fixed it?
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/tablepress-header-problem/#post-16572282)
 * Hi,
 * sorry, as finding and testing the correct code for your site and theme is custom
   development work, I’m unable to provide that here in the support forums, but 
   can only offer this directly to users that have a TablePress premium license.
   Thanks for your understanding.
 * Best wishes,
   Tobias
 *  Thread Starter [alphatechlogix](https://wordpress.org/support/users/alphatechlogix/)
 * (@alphatechlogix)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/tablepress-header-problem/#post-16572321)
 * ok, so if i go for premium are you sure you will solve this problem??
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/tablepress-header-problem/#post-16572374)
 * Hi,
 * yes, I’m quite positive that we can find a good solution for this problem then
   🙂 Also, you would then be able to use that fixed header row.
 * Best wishes,
   Tobias
 *  Thread Starter [alphatechlogix](https://wordpress.org/support/users/alphatechlogix/)
 * (@alphatechlogix)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/tablepress-header-problem/#post-16573496)
 * ok i buy it from my other account can you please help me now to fix it?
 *  Thread Starter [alphatechlogix](https://wordpress.org/support/users/alphatechlogix/)
 * (@alphatechlogix)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/tablepress-header-problem/#post-16573500)
 * i should need to fix it before monday morning please.

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/tablepress-header-problem/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/tablepress-header-problem/page/2/?output_format=md)

The topic ‘Tablepress header problem’ 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/)

 * 16 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/tablepress-header-problem/page/2/#post-16573808)
 * Status: resolved