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

Column width

$
0
0

Hello, I have a table filled with AJAX JSON and I tried to set column width but it doesn't work. I defined my table like this: $('#example').dataTable( "autoWidth": false, "columns": [ { "data": "InternalCode", "width": "30%", }, { "data": "CustomerCode" }, { "data": "Title" }, { "data": "Author" }, { "data": "LastRev" }, { "data": "LastRevDate" }, { "data": "RevStatus" }, { "data": "Status" }, { "data": "Charge" }, { "data": "Transmittal" }, { "data": "Receipt" }, ], }); I also tried to set width directly in td field but it doesn't work. Can you help me please?


Viewing all articles
Browse latest Browse all 83010

Trending Articles



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