If i want to access the tables (without scrollX), i can do something like $('.dataTable').DataTable() ... but if scrollX is enabled, $('.dataTable') will get the scroll head/foot tables as well. I have many tables in different tabs, and when I view a tab I normally will do fnAdjustColumnSizing or I guess now columns.adjust().draw on all the tables on the current tab. However, now, I'm not really sure how to select the real dataTables in my tab without getting their head and foot scroll tables with them (and running adjust.draw on those causes havoc). Am I missing something simple here?
↧