This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am working with dhtmlx grid and generation of reports based on the data in the grid. I do not see the need to hit the Db again for data as it is already present in the grid. Needless to say the grid data are derived from a Db and so is the report.I was considering an approach which would basically map a Db column to a Report column. So my idea was to make this as generic as possible, to make things simpler from the developer perspective. All was well and fine and I almost had it all planned it out.
Now I have another requirement. The reports and the Db remain the same but added is a search criteria. Now I've got to manage the mapping with a search criteria in between. Any ideas on how to go about this one?