Hello Team

Hello Team

sunnykushwaha45sunnykushwaha45 Posts: 3Questions: 1Answers: 0

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

Answers

  • sunnykushwaha45sunnykushwaha45 Posts: 3Questions: 1Answers: 0
    edited October 2022

    Hello Team

    The responsive table is not working for me.
    In a small device, only 4 of 6 columns are visible. I am using bootstrap 5.

    my code -

    js -

    import "datatables.net";
    import "datatables.net-bs5";
    import "datatables.net-responsive";
    import "datatables.net-responsive-bs5";
    
        $("#example").DataTable({
          responsive: true,
        });
    

    HTML -

      style="width: 100%;" id="example" class="table table-hover table-striped table-bordered"
    

    Thank you

    Edited by Allan - Syntax highlighting. Details on how to highlight code using markdown can be found in this guide.

  • sunnykushwaha45sunnykushwaha45 Posts: 3Questions: 1Answers: 0
    edited October 2022

    HTML -

    <table style="width: 100%;" id="example" class="table table-hover table-striped table-bordered"></table>
    

    Edited by Allan - Syntax highlighting. Details on how to highlight code using markdown can be found in this guide.

  • allanallan Posts: 63,530Questions: 1Answers: 10,473 Site admin

    Thanks for your question. As noted in the forum rules, please post a link to a running test case showing the issue so we can offer some help. 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.

    Allan

Sign In or Register to comment.