Width problem for a column
Width problem for a column
YLombardi
Posts: 2Questions: 1Answers: 0
Hi.
I have a table where all the column have little text but one column have a lot of text.
Like this :
http://img11.hostingpics.net/pics/408568problemWidth.png
What can I do to set a fix width for the column that create this problem ?
I try the { column : [{width :100px}]} option but it doesn't fix the width.
I also try this :
$('#table').dataTable({
autoWidth: false,
"columnDefs": [ { "width": "20%", "targets": 23 } ]
});
This discussion has been closed.
Answers
I find a solution here :
http://stackoverflow.com/questions/25706537/specifying-a-fixed-column-width-in-jquery-datatables.
I need to use css and it works.