Add an example demonstrating the use of a data provider to generate a totals row.
Merge pull request #671 from mleibman/master

Merge the new example.