function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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! 
Dev_AryaDev_Arya
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.