Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82012

About autowidth

$
0
0
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 ]
},

...............................
});

Viewing all articles
Browse latest Browse all 82012

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>