vertical scroll bar only showing up on one table.
vertical scroll bar only showing up on one table.
DacHoliday
Posts: 16Questions: 3Answers: 0
its working on this table..
$(document).ready(function() {
$("#tabs").tabs( {
"activate": function(event, ui) {
var table = $.fn.dataTable.fnTables(true);
if ( table.length > 0 ) {
$(table).dataTable().fnAdjustColumnSizing();
}
}
} );
••••••
$('#queries').dataTable( {
"sScrollY": "400px",
"bScrollCollapse": true,
"bPaginate": false,
"bJQueryUI": true,
"aoColumnDefs": [
{ "sWidth": "10%", "aTargets": [ -1 ] }
],
"dom": 'Bfrtip',
"buttons": ['print']
} );
} );
••••
but not on any of my other tables, like this one.
1 $(document).ready(function() {
2
3 $("#tabs").tabs( {
4 "activate": function(event, ui) {
5 var table = $.fn.dataTable.fnTables(true);
6 if ( table.length > 0 ) {
7 $(table).dataTable().fnAdjustColumnSizing();
8 }
9 }
10 } );
11 •••••••••••
12 $('#requests').dataTable;( {
13 "sScrollY": "400px",
14 "bScrollCollapse": true,
15 "bPaginate": false,
16 "bJQueryUI": true,
17 "aoColumnDefs": [
18 { "sWidth": "10%", "aTargets": [ -1 ] }
19 ]
20 } );
21 } );
22
~
any ideas? thanks!
This discussion has been closed.
Answers
figured it out, just a spacing issue..
thanks though!