Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82439

scrollX and selecting all datatables

$
0
0
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?

Viewing all articles
Browse latest Browse all 82439

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>