Yes...
you are going to want to look a sDom here http://www.datatables.net/usage/options
So the jist of the idea is you want to do something like:
[code]
$(document).ready(function() {
$('#example').dataTable( {
"sDom": '<"top"ip>rt<"bottom"fl><"clear">'
} );
} );
[/code]
The following options are allowed:
'l' - Length changing
'f' - Filtering input
't' - The table!
'i' - Information
'p' - Pagination
'r' - pRocessing
So in other words.. where ever you put "p" in your sDom you will get your pagnation. Additionally, you may need to style it to float the way you want to.
you will be able to do that by changing the style to
ID: YOUR_TABLE_ID_HERE_paginate
CLASS: dataTables_paginate
You can put the 'p' option in twice, for example if you want it at the top and the bottom of the table :-)
http://datatables.net/examples/advanced_init/dom_multiple_elements.html
Replies
you are going to want to look a sDom here http://www.datatables.net/usage/options
So the jist of the idea is you want to do something like:
[code]
$(document).ready(function() {
$('#example').dataTable( {
"sDom": '<"top"ip>rt<"bottom"fl><"clear">'
} );
} );
[/code]
The following options are allowed:
'l' - Length changing
'f' - Filtering input
't' - The table!
'i' - Information
'p' - Pagination
'r' - pRocessing
So in other words.. where ever you put "p" in your sDom you will get your pagnation. Additionally, you may need to style it to float the way you want to.
you will be able to do that by changing the style to
ID: YOUR_TABLE_ID_HERE_paginate
CLASS: dataTables_paginate
Hope this helps you out.
http://datatables.net/examples/advanced_init/dom_multiple_elements.html
Allan