Add a scrollbar to table

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #10035652
    ugurcan
    Participant

    Hello,

    How can i add scrollbar to my table ? example table code is here:
    <table id=”assignment-table” class=”table table-responsive-md table-striped mb-0″>

    </table>


    #10035658
    Support
    Keymaster

    Hello,

    Please try with the following HTML code below:

    <div class="table-responsive" style="max-height: 150px;">
        <table id=”assignment-table” class=”table table-striped mb-0″>
            …
        </table>
    </div>

    * You should define a max-height to see the scrollbar.
    * Also wrap the table inside a table-reponsive div.

    We hope this helps!

    Please try that and let us know if you need further assistance.

    Kind Regards,

    Rodrigo.


    #10035662
    ugurcan
    Participant

    Rodrigo Thanks !


    #10035665
    Support
    Keymaster

    Hello,

    Great! 🙂

    If you need further assistance feel free to contact us.

    Kind Regards,

    Rodrigo.


    If you are satisfied with Porto Admin and our support, please leave your comment and rating on ThemeForest downloads page. That helps us a lot: https://themeforest.net/downloads


Viewing 4 posts - 1 through 4 (of 4 total)

This topic is marked as "RESOLVED" and can not rceive new replies.