Setting column width for all columns except one and activating scrollx at a min-width

Setting column width for all columns except one and activating scrollx at a min-width

gjastrabgjastrab Posts: 3Questions: 1Answers: 0
edited April 2016 in Free community support

Hi,

I have a table with 4 columns.

Table: 100%
Table-layout: fixed

Column 1: 40px
Column 2: width: auto; min-width: 250px
Column 3: 40px
Column 4: 40px

I would like to activate scrollx when the user shrinks their browser and column 2 hits 250px.

The issue I'm having is Datatables is inserting a table width I did not define.

I tried playing around with autoWidth: false, but when I inspect the table my 100% table width is overridden.

Any help would be greatly appreciated.

Thanks

This discussion has been closed.