Validate groupBy value, allowing a more flexible grouping solution for extjs.