last column automatically going to dropdown on responsive

last column automatically going to dropdown on responsive

RukiriiRukirii Posts: 7Questions: 6Answers: 0

Hello,
Instead of showing all the columns at large screen, the last column automatically going to dropdown.
how do i fix this, any help will be appreciated

Answers

  • kthorngrenkthorngren Posts: 20,276Questions: 26Answers: 4,765
    edited January 2019

    Its hard to say without seeing your page but my guess is the data in the columns is causing the width of the table to be greater than the page width. Maybe due to not allowing word wrap.

    For help troubleshooting please post a link to your page or a test case replicating the issue.
    https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case

    Kevin

  • nonno72nonno72 Posts: 2Questions: 0Answers: 0
    edited January 2020

    hi Rukirii,
    try to set the table width 100% like this:

    <

    table id="data_table_DG" class="tabella_DG" border="0" width="100%">

    Cheers
    Francesco

  • colincolin Posts: 15,142Questions: 1Answers: 2,586

    @nonno72 - that wouldn't apply here.

This discussion has been closed.