+ Start a Discussion
Nadia GainsbourgNadia Gainsbourg 

"Summarize By This Field" function in Visualforce

I'm buiding a custom report in Visualforce. I need to display the sum of a specific field (basically same function as "Sumarize By This Field" in standard reports). How do you do this on a Visualforce page? Thank you! 
Either you can calculate the sum of the respective column in Javascript and populate the respective place holder, or you can calculate the value in your controller and populate the placeholder from the controller function/variable call.