I have an HTML table on my page created using JSTL. I use jQuery.load and div tags. The following is included:
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.
<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.