• Resolved joshgaines

    (@joshgaines)


    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/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    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

    (@joshgaines)

    Thanks as always!

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    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.