Select sorting position

Select sorting position

lolodevlolodev Posts: 17Questions: 0Answers: 0
edited June 2012 in General
HI

i use this code to display an select to sorting fields:
[code]
"fnInitComplete": function(){
$('#example').append('Trier par :DateDistanceTitre');
$("#sortevent").change(function () {
searchincoming = false;
if ($("#sortevent").val() == 'evtstartdate'){
oTable.fnSort( [ [2,'asc']] );
}
else if($("#sortevent").val() == 'evttitle') {
oTable.fnSort( [ [1,'asc']] );
}
else{
oTable.fnSort( [ [4,'asc']] );
}
})
}
[/code]

but SELECT is display below datatable.
How can idisplay it on top ? which style class ?

thanks
This discussion has been closed.