WagsMax
7 Mar 2012, 5:58 PM
Used to be able to define a groupFn like this:
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?
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?