ColumnDefs not working with responsive
ColumnDefs not working with responsive
RonnieA
Posts: 2Questions: 1Answers: 0
My issues is when I add a columnDef properties to the datatable, the responsive view is messed up.
I've created a js fiddle here: http://jsfiddle.net/ronnieA/wnrp3mrL/
-Shrink browser to enable responsive
-Reload page
The second table has a far bigger width than the first table which is causing the columns to be bigger than they should be.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
It appears to work quite well with the nightly version. I also added
width="100%"
to thetable
tags so they resize smoothly.Allan
Yep, just added width="100%" to the table element and it worked fine.
Thanks for your help Allan, much appreciated