PDA

View Full Version : How add a custom function to SummaryType



rh_it
4 Oct 2012, 7:50 AM
Hello everybody, unfortunately the SummaryType doesn't allows to easily add a customized function because displays only:

39145

But I noticed that to add a custom function to SummaryType you need to duplicate the column
39146

Then in the duplicated column try to add "SummaryType" a press Add
39147

In this manner you will able to add a custom function to your column!
39148

iplanit
5 Oct 2012, 1:24 AM
You can use summaryRenderer.


Add a summary feature.
Add a summaryType (sum)
Add a summaryRenderer, that will create your function.
Add code to the summaryRenderer
(like return val;)


39170





You probably can override or put your own summaryType, but as you show in the pictures you cannot have anything else apart from the options Sencha Architect gives.





Hello everybody, unfortunately the SummaryType doesn't allows to easily add a customized function because displays only:


39145





But I noticed that to add a custom function to SummaryType you need to duplicate the column
39146

Then in the duplicated column try to add "SummaryType" a press Add
39147

In this manner you will able to add a custom function to your column!
39148