Colvis checboxes are centered in list

Colvis checboxes are centered in list

mrumschlagmrumschlag Posts: 2Questions: 0Answers: 0
edited August 2012 in General
Not sure why, but my colvis checkboxes are centered in the list. Here is my entire init code.

[code]
var oTable = $('#example').dataTable( {
"aoColumnDefs": [
{ "bSortable": false, "aTargets": [ 0 ] }
],
"aaSorting": [[1, 'asc']],
"oLanguage": {
"sSearch": "Search all columns:"
},
"sDom": '<"colvis"C><"clear">Rlfrtip',
"oColVis": {
"fnLabel": function ( index, title, th ) {
return (index+1) +'. '+ title;
}
},
"oTableTools": {
"sSwfPath": "{!URLFOR($Resource.JQuery_Pricing, '/JQuery_Pricing/swf/copy_csv_xls_pdf.swf')}",
"aButtons": [
"copy",
"csv",
"xls",
{
"sExtends": "pdf",
"sPdfOrientation": "landscape",
"sPdfMessage": "Nexeo Solutions"
},
"print"
]
},
"bStateSave": true,
"fnInitComplete": function() {
$('div.colvis').hide();
var oSettings = $('#example').dataTable().fnSettings();
for ( var i=0 ; i0){
$("tfoot input")[i].value = oSettings.aoPreSearchCols[i].sSearch;

$("tfoot input")[i].className = "";
}
}
}
})
[/code]

Replies

  • allanallan Posts: 63,535Questions: 1Answers: 10,475 Site admin
    Sounds like a CSS issue to me - text-align:center probably. What does Firebug say?

    Allan
This discussion has been closed.