use multiple components of datatables

use multiple components of datatables

OutbackMattOutbackMatt Posts: 2Questions: 1Answers: 0

I've just started to use datatables.
Really interesting concept - thanks for the hard work.

I'm not much of jQuery coder, but I'm learning.

http://datatables.net/examples/advanced_init/footer_callback.html
This example is great.
But I'd like to display the summed totals in the same format that the values are in the columns (ie as money with a leading $ a comma at each multiple of three digits before the decimal place, and for my data with two decimal places).

I'd also like to show by default the first 100 entries, not just the initial 10 entries.

How can I get the footer callback to work with both formatting of the result, and changing the number of entries shown.

Matt

This discussion has been closed.