Header not showing in Spry Tabs

Header not showing in Spry Tabs

mbushmbush Posts: 6Questions: 0Answers: 0
edited December 2010 in General
Hi,

I have tried a few pages with Datatables (which are amazing by the way) and Spry Tabs.

If I have a page with one tab and a datatable, everything is ok but when I add another tab and make that default when loading, the header row with my columns disappears and shows a white bar.

Here is my code for the table

[code]

$(document).ready(function() {
$('.dataTable').dataTable( {
"aaSorting": [[ 0, "asc" ]],
"bAutoWidth": false,
"iDisplayLength": -1,
"sScrollY": 550,
"bJQueryUI": true,
"bPaginate": false
} );
} );

[/code]

Any suggestions?


-Michael

Replies

  • mbushmbush Posts: 6Questions: 0Answers: 0
    I Should add, I have tried this on another completely separate domainname and page and it does the same thing, could this be a bug with Datatables/Spry Tabs?
  • mbushmbush Posts: 6Questions: 0Answers: 0
    I have just taken the "sScrollY": 550, line out of the initilisation code and it works fine, confusing
  • mbushmbush Posts: 6Questions: 0Answers: 0
    I have just tried this in jQuery tabs too and it doesn't work :-( I think there is a definate bug with loading a default tab
  • SuperCrazyMarkSuperCrazyMark Posts: 1Questions: 0Answers: 0
    This has been covered in the DataTables documentation here http://www.datatables.net/examples/api/tabs_and_scrolling.html
  • mbushmbush Posts: 6Questions: 0Answers: 0
    It still doesn't work on spry tabs thought, exactly the same problem :-(
This discussion has been closed.