Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82723

initComplete callback on pagenation?

$
0
0

I have a callback like this:

    initComplete: (settings, json) ->
          $('#expenditures_info').append(json['info'])

where I append some server side text to the DataTable summary:

Showing 1 to 20 of 51 entries ($38,228.96 of $117,176.44 total)

Where I total a column on the results from page shown vs all pages. This works on the initial page load but reverts to the default on subsequent calls and draws etc:

Showing 21 to 40 of 51 entries

Can I do this or is there a different callback that applies?


Viewing all articles
Browse latest Browse all 82723

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>