Link to test case: https://stackblitz.com/edit/datatables-columns-adjust-issue?file=index.html
Debugger code (debug.datatables.net): none
Error messages shown: none
Description of problem: I have a datatable set up inside a hidden container. After the datatable is done initializing, I make the container visible and then call table.columns.adjust() to fix the misaligned columns. This however just doesn't work reliably on some tables(sometimes it works, sometimes it doesn't), while on an other table it doesn't work at all. I've tried adding the responsive in the initialization, and tried table.columns.adjust().responsive.recalc(), and table.responsive.recalc().columns.adjust() but that didn't do anything. The table element has width set to 100.
In the link above, make the application screen a bit bigger, to see the issue better.
or use the application link to see it on a bigger screen...
https://datatables-columns-adjust-issue.stackblitz.io