WATableReport can be used. See the tutorial by Dan Winkler, Radoslav Hodnicak and David Shaffer. Alternatively, there is an example without using WATableReport.