Results 1 to 3 of 3

Thread: summaryType custom function

    Success! Looks like we've fixed this one. According to our records the fix was applied for DSGNR-7761 in Architect 4.2.
  1. #1
    Sencha Premium User
    Join Date
    Jan 2014
    Location
    Italy
    Posts
    104
    Vote Rating
    12
      0  

    Default summaryType custom function

    I'm setting up a grid with the GroupingSummaryFeature.

    This feature should allow defining the summaryType property of a column as a custom function but, in the "Config" panel the property is bound to a combobox that only allows selecting predefined values (count, sum, etc.).

    If I try to add a custom function named "summaryType" SA throws the following error:


    Uncaught TypeError: cfg.getAllowOnViewController is not a function

    Is there any workaround ?

    Thanks

  2. #2
    Sencha - QA Team
    Join Date
    Sep 2014
    Location
    Central Europe
    Posts
    555
    Vote Rating
    32
      1  

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

    Please use process config as a work-around, there is tutorial https://www.youtube.com/watch?v=lLmLD3unWO4

  3. #3
    Sencha - Architect Dev Team petr.felzmann's Avatar
    Join Date
    Apr 2015
    Posts
    169
    Vote Rating
    12
      0  

    Default

    You could use summaryRenderer config: http://docs.sencha.com/extjs/6.2.1/m...ummaryRenderer
    The summaryType config is going to be deprecated in upcoming Ext JS 6.5.

Similar Threads

  1. [OPEN] Any way to add a custom summaryType in designer?
    By corey.hunt in forum Sencha Architect 2.x: Bugs
    Replies: 7
    Last Post: 25 Apr 2013, 9:48 AM
  2. summaryType as a function
    By mice-pace in forum Sencha Architect 2.x: Help & Discussions
    Replies: 0
    Last Post: 29 Nov 2012, 10:21 PM
  3. How add custom summaryType in Architect...
    By rh_it in forum Sencha Architect 2.x: Help & Discussions
    Replies: 1
    Last Post: 9 Oct 2012, 2:21 PM
  4. How add a custom function to SummaryType
    By rh_it in forum Sencha Architect 2.x: Bugs
    Replies: 1
    Last Post: 5 Oct 2012, 1:24 AM
  5. Any way to add a custom summaryType in designer?
    By corey.hunt in forum Sencha Architect 2.x: Help & Discussions
    Replies: 2
    Last Post: 20 Feb 2012, 9:14 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •