Results 1 to 3 of 3

Thread: groupFn - how to add a parameter?

    Success! Looks like we've fixed this one. According to our records the fix was applied for DSGNR-1526 in a recent build.
  1. #1
    Sencha User
    Join Date
    Dec 2011
    Location
    White Rock, BC Canada
    Posts
    167
    Vote Rating
    0
      0  

    Default groupFn - how to add a parameter?

    Used to be able to define a groupFn like this:

    Code:
    function(record) {
    	return (record.get('opnd') === "*" ? "New Calls" : "Opened Calls")
    }
    and now the groupFn does not seem to allow for parameters. How do I base my grouper on the record contents?

  2. #2
    Sencha User aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,487
    Vote Rating
    145
      0  

    Default

    This is a bug and will be fixed in a future release.
    Aaron Conran
    @aconran

  3. #3
    Sencha - Architect Dev Team dfoelber's Avatar
    Join Date
    Sep 2011
    Location
    Rockville, MD
    Posts
    96
    Vote Rating
    12
      0  

    Default

    This issue is fixed and will be included in the next autoupdate.
    David Foelber
    @davidfoelber
    Sencha Architect Development Team

Posting Permissions

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