Posts Tagged ‘datagrid’

Totals Line or Footer in PHP DataGrid

Tuesday, October 14th, 2008

Here’s a tip for working with the PHP DataGrid.

If you need to put a totals line in your footer, which will be locked at the bottom (rather than sorting), you can do the following:
1. you’ll build one query to get the result rows
2. build a separate query to get the total row
3. [...]