Title: responsive vertical scroll size (datatables)
Last modified: August 31, 2016

---

# responsive vertical scroll size (datatables)

 *  Resolved [joshgaines](https://wordpress.org/support/users/joshgaines/)
 * (@joshgaines)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/responsive-vertical-scroll-size-datatables/)
 * Is it possible, via shortcode options or CSS, to make the vertical scroll size(
   using “datables_scrolly) change depending on the height of the browser windows?
 * I’d like the table to take up as much vertical space as possible without expanding
   beyond the window. Is there a value similar to the responsive breakpoint value
   that I could use here?
 * Thanks!
 * [https://wordpress.org/plugins/tablepress/](https://wordpress.org/plugins/tablepress/)

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/responsive-vertical-scroll-size-datatables/#post-7162669)
 * Hi,
 * thanks for your question, and sorry for the trouble.
 * Unfortunately, I’m not aware of an easy possibility for this, sorry 🙁 Setting
   this in CSS is not possible, you’d need to add a dynamic JS value.
    For that,
   you’d have to copy the initialization code for the DataTables JS library (after
   using “View Source” in your browser) and use that manually instead of letting
   TablePress create the JS call. Then, you could modify that to use a dynamic height
   value.
 * Regards,
    Tobias
 *  Thread Starter [joshgaines](https://wordpress.org/support/users/joshgaines/)
 * (@joshgaines)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/responsive-vertical-scroll-size-datatables/#post-7162681)
 * Thanks as always!
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/responsive-vertical-scroll-size-datatables/#post-7162705)
 * Hi,
 * no problem, you are very welcome! 🙂 Good to hear that this helped!
 * Best wishes,
    Tobias

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

The topic ‘responsive vertical scroll size (datatables)’ 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: [10 years, 2 months ago](https://wordpress.org/support/topic/responsive-vertical-scroll-size-datatables/#post-7162705)
 * Status: resolved