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

bStateSave error 1.9.4

$
0
0
I have just installed 1.9.4 for a new project and am having probems with bStateSave.

I copied the initialisation code from another project as it works ok, (1.8.2), but if I include bStateSave, i get an error on datatables.js line 6705

Cannot read property 'asSorting' of undefined

If I omit the line, it is ok

<script type="text/javascript" charset="utf-8">
jQuery.fn.dataTableExt.oPagination.iFullNumbersShowPages = 3;
	$(document).ready(function() {
		$('#example').dataTable( {
			"sPaginationType": "full_numbers",
			"bFilter": true,
			"bAutoWidth": false,
			"bStateSave": true,
			"aoColumnDefs": [
			{ "bSortable": false, "aTargets": [ 3 ] },
			{ "sWidth": "60px", "aTargets": [ 3 ] }
			] } );
	} );
</script>

Viewing all articles
Browse latest Browse all 82030

Trending Articles



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