Support » Plugin: TablePress - Tables in WordPress made easy » How to enable a Vertical Scroll Bar

  • Resolved gamattox

    (@gamattox)


    Hi Tobias,

    Is it possible to enable a vertical scroll bar if I’m NOT using the DataTables JavaScript Library? My table uses #colspan# and is quite long. The JavaScript Library options are disabled by the #colspan# tags. Is there another way to enable a VERTICAL scroll bar without using the JavaScript Library?

    Thanks,
    Gary

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Your best chance probably is to wrap the Shortcode in an extra <div> container, like

    <div style="height: 500px; overflow-y: auto;">
    [table id=123 /]
    </div>
    

    Regards,
    Tobias

    Thread Starter gamattox

    (@gamattox)

    Thanks Tobias,

    Your suggestion works great..! My tables can now take advantage of #colspan# without loosing their much needed vertical scroll bar.

    Thanks again,
    Gary

    Plugin Author TobiasBg

    (@tobiasbg)

    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 in the plugin directory. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to enable a Vertical Scroll Bar’ is closed to new replies.