posted 11 years ago
I have the following js on my page. When page is initialized and re-sized the columns of the header and body re-size together and no js errors. However, if I refresh the page or close it and reopen it I get the js error:
DataTables
oFeatures is null or not an object line 227
[code]
<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>
[code]