Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jQuery DataTables Issue

 
Steve Dyke
Ranch Hand
Posts: 1602
1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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]
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic