I'm using the Datatables.net plugin for JQuery. I am trying to create a "Totals" row in the footer. I'm using this example as a reference: http://datatables.net/release-datatables/examples/advanced_init/footer_callback.html
Does the array aiDisplay
in this example give all the Rows indexes that are currently displayed? Or all the ones the fulfill the current filters?
To clarify the difference here would be the rows that fulfill the filter, but are not on the current page. There may be 30 rows that fulfill the filter, but only 10 of those rows are displayed because pagination is set to 10.
If aiDisplay
contains all the rows fulfilling the filter regardless of pagination then great! However, if it literally does contain only the rows show on the current page, is there a way I can get an array of all the rows that fulfill the filter?
Thanks!
As an aside: It seems as if this array should contain all indexes fulfilling the filter, not just the ones on the page. Since the iStart
and iEnd
values are provided the rows on the page can be derived and providing an array with only the values on the page provides no additional value over provide all the values that fulfill the filter. However I could find no documentation on this.