About autowidth

About autowidth

kimbitnakimbitna Posts: 3Questions: 0Answers: 0
edited November 2012 in General
Hello~

I am using DataTables.

I want fix colunms width.

But when I use search option, show (x) entries or sort function, It displays columns size automatically.

I am using chrome..

Please help me~



$('#example').dataTable(
{
"sScrollY": "430px",
"bAutoWidth" : false,
"bScrollCollapse": true,
"aaData" : aDataSet,
"aoColumnDefs" : [
{
"sTitle" : "ID",
"sWidth":"20px",
"aTargets" : [ 0 ]
},
{
"sTitle" : "TITLE",
"sWidth":"20px",
"aTargets" : [ 1 ]
},

...............................
});
This discussion has been closed.