ColumnDefs not working with responsive

ColumnDefs not working with responsive

RonnieARonnieA 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

Answers

  • allanallan Posts: 63,794Questions: 1Answers: 10,513 Site admin
    Answer ✓

    It appears to work quite well with the nightly version. I also added width="100%" to the table tags so they resize smoothly.

    Allan

  • RonnieARonnieA Posts: 2Questions: 1Answers: 0

    Yep, just added width="100%" to the table element and it worked fine.

    Thanks for your help Allan, much appreciated

This discussion has been closed.