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

Problem fnSettings().aoColumns has a null value when using FixedColumn

$
0
0
Hi all,

I've got a problem on one of my pages with FixedColumn using IE8 (i've no choice about that, sorry :) ).
I've got 5 pages with the exact same code to use DataTable and FixedColumn. 4 of them are working well but for the last one i've got this error message (IE8 dev tools) :

Line: 29
Error : 'fnSettings().aoColumns' has a Null value or is not an object.

Here is my code :

var oTable = $('#ctl00_ContentPlaceHolder2_tab_pdp').dataTable({
	// height scroll
	"sScrollY": tabMaxHeightPDP() + "px",
	// width scroll
	"sScrollX": "4060px",
	"sScrollXInner": "4060px",
	"bScrollCollapse": true,

	// pagination
	"bPaginate": true,

	// show/hide columns
	"sDom": 'C<"clear">lfrtip',
	"oColVis": {
		"aiExclude": [0, 1, 2] // colonnes à ne pas masquer
	},
	
	// init sorting
	"aaSorting": [[1, "asc"]]
});
new FixedColumns(oTable, {
	// three fixed columns
	"iLeftColumns": 3, 
	"iLeftWidth": 560
});

Thanks ;)

Viewing all articles
Browse latest Browse all 82041

Trending Articles



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