Using smartgwtpower2.5 nightly, gwt 2.3.0. I'd like to know what the best way to display calculated fields in a listgrid is without retrieving all the rows unnecessarily? Here is a sample query:
I've read through the Data Integration and the Smart GWT Server Framework chapters in the quickstart guide and I see it is possible to intercept the DSRequest and DSResponse, but I don't need to return individual rows, just the calculated values. If possible, I'd like to use a ds.xml file however I don't know of a way to specify a field that is not present in the actual table. Also, how would I modify the select statement in the query to include the calculations? Any help is much appreciated.
Code:
select name, color, price, avg(value), min(value), max(value) stddev(value) from table group by name
Comment