Is this a bug? Rigged rows on datatables
Is this a bug? Rigged rows on datatables
Xinez
Posts: 3Questions: 0Answers: 0
i don't know if this a bug or not, but i think i should report it first
here is the screenshot
http://img406.imageshack.us/img406/6384/capdm.jpg
and as for my code:
[code]
$(document).ready( function () {
var oTable = $('#tabel_daftar_all').dataTable( {
"bJQueryUI": true,
"bPaginate": false,
"sScrollX": "100%",
//"sScrollXInner": "150%",
"bScrollCollapse": true,
"bFilter": false,
"fnRowCallback": function( nRow, aData, iDisplayIndex, iDisplayIndexFull ) {
var index = iDisplayIndexFull +1;
$('td:eq(0)',nRow).html(index);
return nRow;}
} );
//Auto column resize for datatable inside tab
$("#kontenTab").tabs( {
"show": function(event, ui) {
var oTable = $('div.dataTables_scrollBody>table.display', ui.panel).dataTable();
if ( oTable.length > 0 ) {
oTable.fnAdjustColumnSizing();
}
}
} );
new FixedColumns( oTable, {
"iLeftColumns": 2,
"iLeftWidth": 350
} );
} );
table.display thead th {
border-bottom: 1px solid black;
cursor: pointer;
font-weight: bold;
padding: 3px 18px 3px 10px;
}
[/code]
i'am using multi line header with rowspan and colspan and also fixed column
maybe anyone ever had this problem?
here is the screenshot
http://img406.imageshack.us/img406/6384/capdm.jpg
and as for my code:
[code]
$(document).ready( function () {
var oTable = $('#tabel_daftar_all').dataTable( {
"bJQueryUI": true,
"bPaginate": false,
"sScrollX": "100%",
//"sScrollXInner": "150%",
"bScrollCollapse": true,
"bFilter": false,
"fnRowCallback": function( nRow, aData, iDisplayIndex, iDisplayIndexFull ) {
var index = iDisplayIndexFull +1;
$('td:eq(0)',nRow).html(index);
return nRow;}
} );
//Auto column resize for datatable inside tab
$("#kontenTab").tabs( {
"show": function(event, ui) {
var oTable = $('div.dataTables_scrollBody>table.display', ui.panel).dataTable();
if ( oTable.length > 0 ) {
oTable.fnAdjustColumnSizing();
}
}
} );
new FixedColumns( oTable, {
"iLeftColumns": 2,
"iLeftWidth": 350
} );
} );
table.display thead th {
border-bottom: 1px solid black;
cursor: pointer;
font-weight: bold;
padding: 3px 18px 3px 10px;
}
[/code]
i'am using multi line header with rowspan and colspan and also fixed column
maybe anyone ever had this problem?
This discussion has been closed.