Datatables DOM positioningRSS

Datatables DOM positioningRSS

brucey54brucey54 Posts: 2Questions: 2Answers: 0

Hi everyone, I'm using datatable to display information.

I'm trying to display the DOM information i.e. "Showing 1 to 4 of 4 entries (filtered from 801 total entries)" at the top of the page away from the table.

So far I have this

        <div id="refresh">

        </div>

$('#example').dataTable({

    "sDom": '<"top"i>rt<"bottom"<"#refresh">flp><"clear">'

  });

This displays the DOM at the top of the table and moves the search function to the bottom of the table, not what I was looking to do!

Basically I want everything to stay the same with the additional DOM displayed within the

<

div id="refresh">

Any pointers much appreciated :)

Answers

This discussion has been closed.