Quantcast
Channel: DataTables 1.9 — DataTables forums
Viewing all articles
Browse latest Browse all 1816

Resizing Table Causes oFeatures is null or not an object

$
0
0
I have an HTML table on my page created using JSTL. I use jQuery.load and div tags. The following is included:


<script type="text/javascript">
	$(document).ready(function(){
		
		var oTableV5 = $('#rtQueueBody').dataTable({
       		"bPaginate": false,
       		"bSort": false,
       		"bFilter": false,
       		"sScrollY": "500px"     		     		
       		 
     	});
   	   		
   		$(window).resize(function() {
			oTableV5.fnAdjustColumnSizing();
		});
	
	});	  
	
</script>


When the page is first loaded it appears and resizes fine, all the columns line up. However, if I reload the page I get the js error: oFeatures is null or not an Object Line 227. At this point the header on longer resizes with the body columns. If I reload the page again the columns will line up normally but if resized the header columns stay static.

Viewing all articles
Browse latest Browse all 1816

Trending Articles