Once I add autoWidth: false the table stops being sortable.
Once I add autoWidth: false the table stops being sortable.
I have an already rendered table that I added datatables to, using the basic installation instructions.
The default truncate the table. I tried to 'force' it to stay with typical html 'width' options, but they get overridden.
if I add autoWidth: false or columns, the sorting gets turned off.
** $('#example').DataTable( {
"columns": [
null,
null,
null,
null,
{ "width": "50%" }
]
} );**
If I decide to change one thing, do I have to go and set everything else?
Answers
I'm sorry, but I'm not clear what the issue is. We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin
Look for errors in your browser's console.
Kevin