Using Datatables

linkaiyi
Follow

how to ajdust dom elements in table

Table summary in header, filtering, length and processing in footer, with a clearing element.:

/* Results in:
    <div class="top">
      {information}
    </div>
    {processing}
    {table}
    <div class="bottom">
      {filter}
      {length}
      {pagination}
    </div>
    <div class="clear"></div>
*/
new DataTable('#myTable', {
    dom: '<"top"i>rt<"bottom"flp><"clear">'
});
Object has 0 attachments

Was this article helpful?

This article is viewed 42 times!

Recent Viewed Articles

0 Comments

Leave a Comment

Support