How to Force Specific Column Widths by Number of characters.

How to Force Specific Column Widths by Number of characters.

infantheartlyjesinfantheartlyjes Posts: 9Questions: 0Answers: 0
edited October 2012 in General
I want to set the width of datatable columns based on the Maximum number of characters assigned for the column. Here in this example the Column width is set by percentage of the table width. I want to change it character wise.
[code]
$('#example').dataTable( {
"bAutoWidth": false,
"aoColumns": [{"sWidth":"60%"},{"sWidth":"20%"},{"sWidth":"20%"}]
} );
[/code]
This discussion has been closed.