Hybrid View

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium Member
    Join Date
    Apr 2011
    Posts
    52
    Vote Rating
    1
    rh_it is on a distinguished road

      0  

    Default How add a custom function to SummaryType

    How add a custom function to SummaryType


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

    1.jpg

    But I noticed that to add a custom function to SummaryType you need to duplicate the column
    1.5.jpg

    Then in the duplicated column try to add "SummaryType" a press Add
    2.jpg

    In this manner you will able to add a custom function to your column!
    3.jpg

  2. #2
    Sencha User
    Join Date
    Aug 2012
    Location
    Dublin
    Posts
    72
    Vote Rating
    11
    iplanit will become famous soon enough

      0  

    Default


    You can use summaryRenderer.
    1. Add a summary feature.
    2. Add a summaryType (sum)
    3. Add a summaryRenderer, that will create your function.
    4. Add code to the summaryRenderer
      Code:
      (like return val;)


    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.




    Quote Originally Posted by rh_it View Post
    Hello everybody, unfortunately the SummaryType doesn't allows to easily add a customized function because displays only:





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

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

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

Thread Participants: 1

Tags for this Thread