Adjust column width with each page
Adjust column width with each page

Hello
My apologies if it's a too basic problem but I couldn't find a solution by myself.
I have a few columns that are way too large in regards with the length of their contents and I think it comes from the fact that data on other pages for the same column are longer.
Is it possible to optimize the column width in response to the data actually displayed on the current page?
Thank you
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
I made a quick example:
http://live.datatables.net/nazuyasi/1/
Is it possible to get the column "address" smaller when only short strings appear?
You can disable
autoWidth
, and that means the width is recalculated on each draw - see here.Colin
Great, thank you!