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

FixedColumns in Multiple Tables

$
0
0
Hi,

me and DataTables are slowly getting to know each other... and at this point I got stuck with FixedColumns functionality. I have multiple tables:
<div class="monthSummary">
	<table class="FixedTables" id=*uniqueID*>
	</table>
</div>
<div class="monthSummary">
	<table class="FixedTables" id=*uniqueID*>
	</table>
</div>
...

and initializing DataTables with:
var oTable = $('.FixedTables').dataTable({
	"bPaginate": false,
	"bInfo": false,
	"bAutoWidth": false,
	"bFilter": false,
		
	"sScrollY": "100%",
	"sScrollX": "100%",
	"sScrollXInner": "150%",
	"bScrollCollapse": true
});

When I use FixedColumns feature, only columns within first table get "fixed"
new FixedColumns( oTable, {
	"iLeftColumns": 2
});

Do I have to initialize each table and setting FixedColumns seperately?

DataTables debugger:
http://debug.datatables.net/ipotur

Thanks
Martin

Viewing all articles
Browse latest Browse all 82115

Trending Articles



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