Here is a live example of a modified sDom .
http://live.datatables.net/onaqul/edit#javascript,html,live
Here we introduce a div called <div id="refresh"></div> using structrue <"#refresh"> .
$('#example').dataTable({ "sDom": '<"top"i>rt<"bottom"<"#refresh">flp><"clear">' });
If you check the generated dom in the example, you can see that <div id="refresh"></div> inserted inside <div class="bottom"></div> .
I think a lot depends on (1) how your particular table has footer elements, (2) where you decide to enter your specific element using sDom and (3) how you style the element using CSS .
Alternatively, you can create a button created outside of the datatables environment, but use jquery to add or add your button to one of the elements created by the datatables elements.
Hope this is a useful starting point.
mg1075
source share