Resizing Table Causes oFeatures is null or not an object
Resizing Table Causes oFeatures is null or not an object

I have an HTML table on my page created using JSTL. I use jQuery.load and div tags. The following is included:
[code]
$(document).ready(function(){
var oTableV5 = $('#rtQueueBody').dataTable({
"bPaginate": false,
"bSort": false,
"bFilter": false,
"sScrollY": "500px"
});
$(window).resize(function() {
oTableV5.fnAdjustColumnSizing();
});
});
[/code]
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.
[code]
$(document).ready(function(){
var oTableV5 = $('#rtQueueBody').dataTable({
"bPaginate": false,
"bSort": false,
"bFilter": false,
"sScrollY": "500px"
});
$(window).resize(function() {
oTableV5.fnAdjustColumnSizing();
});
});
[/code]
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.
This discussion has been closed.
Replies
Allan
Allan