EXTJS: use of function to determine grouping column names. Function is called from within template.