Avoid columns.adjust() calling ajax data
Avoid columns.adjust() calling ajax data

I have a datatable that is hidden when init so when I show it, I use this as described: https://datatables.net/reference/api/columns.adjust()
Problem is that everytime I call table.columns.adjust().draw() it reloads the data from ajax endpoint.
Is there any way to avoid this? (basically I just want the columns width to recalculate, not get new data)
This discussion has been closed.