Provide callback for _fnAdjustColumnSizing
Provide callback for _fnAdjustColumnSizing
Is it possible to add a callback for the _fnAdjustColumnSizing function. I am trying to make my site work both left-to-right, and right-to-left. To do this, I basically, among other things, transfer the padding from the right to the left side of the table by using a drawCallback
. However, when the window gets resized, the data tables call _fnAdjustColumnSizing which restores the padding settings without any notification.
Can a callback, say columnResizeCallback be added to the API and then linked to _fnAdjustColumnSizing to support the above.
Thanks
This question has an accepted answers - jump to answer
Answers
column-sizing
is the event that DataTables triggers when that method is called. I'm generally moving more towards events rather than callbacks with DataTables.Allan
So sorry. Thank.
No worries. Easy when you know how - darn near impossible if you don't!
Allan
edit typo