how to add scroll bar to the top and bottom of the table ?

how to add scroll bar to the top and bottom of the table ?

KEshav09KEshav09 Posts: 18Questions: 9Answers: 0

Link to test case:
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,118Questions: 1Answers: 2,583

    This example is demonstrating a horizontal scroll.

    Colin

  • KEshav09KEshav09 Posts: 18Questions: 9Answers: 0

    Thanks colin , but i have a requirement where the table is too long in the horizontal way and those are hidden columns so when people when they start adding more columns to the table , there is a small confusion whether where the column is added due to which the horizontal scroll on the bottom is not seen due to the length of the table so it would be great if there is a way to add the scroll bar to the header

  • colincolin Posts: 15,118Questions: 1Answers: 2,583
    Answer ✓

    I see, this SO thread may get you going, it's discussing that,

    Colin

  • Uzairkhan92Uzairkhan92 Posts: 36Questions: 10Answers: 0

    Hi, I have the same issue, My table length is too big, and I have many columns I need a horizontal scroll, not at the bottom of the table, I need a horizontal scroll on the screen height. when the user scroll vertically so the horizontal bar should keep sticky.

  • colincolin Posts: 15,118Questions: 1Answers: 2,583

    Did the SO thread I linked to in my previous comment help?

    If not, we're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

Sign In or Register to comment.