the "sDom" value controls the placing of various elements by indicating their relative position within the sDom string.
http://www.datatables.net/ref#sDom
the default sDom string is lfrtip (see above link for explanation of each letter in the string), so if you want to move the length dropdown (l) and the filter (f), just place them after the table (t)
You may need to edit some of the css associated with those elements in order to get them to place themselves in the way you want.
Replies
http://www.datatables.net/ref#sDom
the default sDom string is lfrtip (see above link for explanation of each letter in the string), so if you want to move the length dropdown (l) and the filter (f), just place them after the table (t)
You may need to edit some of the css associated with those elements in order to get them to place themselves in the way you want.
[code]
$(document).ready(function() {
$('#example').dataTable( {
"sDom": 'rtlfip'
} );
} );
[/code]
Thanks for the help and quick reply.
/Birger