Bootstrap panel and table

Bootstrap panel and table

ImpPhilImpPhil Posts: 12Questions: 4Answers: 0

If I use

<

div class="panel"> ...

...

and there's no panel-body then I get seamless integration of the table with the panel.
If I use datatables with the table it breaks the integration. I can give you some screenshots if it helps.
Can this be fixed?

Answers

  • ImpPhilImpPhil Posts: 12Questions: 4Answers: 0

    This happens because of the scrollbar when I use dataTables like this

                    .DataTable({
                        scrollY: 400,
                        paging: false,
                        searching: false,
                        info: true,
                        order: [[0, 'asc']],
                        dom: 'lrtip',
                    });
    

    It looks better with a panel body in this case.

This discussion has been closed.