This topic contains 3 replies, has 2 voices, and was last updated by Sean Sean 3 years, 3 months ago.

how to create horizontal scrolling


  • brian15co
    Participant

    Posts: 19
    Member Reply #1036

    I have a portlet that will contain a simple html table. This table will often be wider than the portlet, and will therefore need a horizontal scrollbar.

     

    I have given this table a SlimScroll for vertical scrolling, although I cannot get the horizontal scrollbar to show up. The rightmost content in the table is hidden.

    Sean
    Sean
    Keymaster

    Posts: 4527
    Support Staff Reply #1059

    Hi :),

    We haven’t integrated the horizontal scrolling with SlimScroll plugin in Metronic yet. So we are not able to comment on this issue. But you can wrap your table with  <div class=”table-scrollable”>..</div> class in order to have horizontal scroll for your datatables when needed.

    Thanks.


    brian15co
    Participant

    Posts: 19
    Member Reply #1063

    Thanks for the reply. Turns out, you cannot have both the slim vertical scroller and traditional horizontal scrolling in the same table. I needed to change

    <div id=”jobparts” class=”table-scrollable scroller” …>

    to

    <div id=”jobparts” class=”table-scrollable” …>

    Unless of course you know how to make both work!

     

    • This reply was modified 3 years, 3 months ago by  brian15co.
    • This reply was modified 3 years, 3 months ago by  brian15co.
    Sean
    Sean
    Keymaster

    Posts: 4527
    Support Staff Reply #1089

    Hi :),

    Yes, at the moment both strollers won’t work together. But we will consider improving it in a future releases.

    To stay updated please follow us on http://twitter.com/keenthemes 😉

    Thanks.

You must be logged in to reply to this topic.