Title: Deactivate Javascript library
Last modified: October 7, 2022

---

# Deactivate Javascript library

 *  Resolved [wpcal01](https://wordpress.org/support/users/wpcal01/)
 * (@wpcal01)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/deactivate-javascript-library/)
 * Hello! I can deactivate Javascript library Functions from all the tables? I try
   to find but the only is for each one.
    Thanks.

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/deactivate-javascript-library/#post-16081236)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * Unfortunately, it’s not possible to change the checkbox state for all tables 
   in one go (bulk editing), but you can use a bit of code to override the state
   of the checkbox, to turn that feature of for all tables on the site. For that,
   add this to the “functions.php” file of your theme:
 *     ```
       add_filter( 'tablepress_table_render_options', 'wpcal01_tablepress_turn_off_datatables', 10, 2 );
       function wpcal01_tablepress_turn_off_datatables( $render_options, $table ) {
       	$render_options['use_datatables'] = false;
       	return $render_options;
       }
       ```
   
 * Regards,
    Tobias
 *  Thread Starter [wpcal01](https://wordpress.org/support/users/wpcal01/)
 * (@wpcal01)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/deactivate-javascript-library/#post-16096560)
 * Thank you Mate!
    Works.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/deactivate-javascript-library/#post-16097144)
 * 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 [here](https://wordpress.org/support/plugin/tablepress/reviews/#new-post)
   in the plugin directory. Thanks!

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

The topic ‘Deactivate Javascript library’ 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: [3 years, 7 months ago](https://wordpress.org/support/topic/deactivate-javascript-library/#post-16097144)
 * Status: resolved