Responsive Bootstrap DataTables Overflow

Responsive Bootstrap DataTables Overflow

dsnapdsnap Posts: 23Questions: 3Answers: 0

http://live.datatables.net/gerarule/1/

Table juts out outside its container when the window is shrunk before it collapses. It also doesn't scale back up to fill its container when the window is made large again. Do I have something out of whack or do I need to tweak breakpoints and the like?

Answers

  • dsnapdsnap Posts: 23Questions: 3Answers: 0

    Um, so giving the table a width="100%" solved the problem.

  • xiaodanxiaodan Posts: 2Questions: 0Answers: 0

    Actually, there is still problem with your example, the datatables will overflow when you shrink the windows

  • mav2287mav2287 Posts: 4Questions: 0Answers: 0

    In your example if setting autowidth to false would have solved the problem. The issues seems to be with dataTables setting the width in pixels and not being setup to adjust on window resize. That is why you seem to have the problem

This discussion has been closed.