I’m relatively new to php and I’ve been given the task of generating a tabular report.
I have to be able to do the following with the grid.
Fully stylable
Specify a SQL statement for the data
Choose the columns that I want display (alias names for columns would be really nice too)
Sorting and n-level Grouping on columns
Also, my company is looking at keeping the code propriety.
I should also mention that this will be running in a joomla site so joomla reporting components suggestions are welcome too.
I would recommend you look at simply getting the data yourself using your normal data access, outputting it in JSON format and using a UI component like jQuery Datatables to display the resulting data. The datatables component is dual licensed under GPLv2 and BSD (3 point) licenses.
Alternatively you could look at a component such as phpGrid, but this is not free.