View Full Version : groupHeaderTpl - dateFormat

5 Oct 2011, 4:05 AM
I would like to know how I can setup the correct dateFormat for the groupHeaderTpl (when grouping by a date column), or at least to follow column's dateFormat.

Even in the examples (group-summary-grid.js) if you activate grouping menu for a date column and group by that one, you will notice that will not use the dateFormat of the column, but the full date like Sun Jun 24 2007 00:00:00 GMT+0300 (GTB Daylight Time)


5 Oct 2011, 11:18 PM
I've found the solution for this on another thread: here (http://www.sencha.com/forum/showthread.php?132477-Grid-migration-groupRenderer-gone&highlight=groupHeaderTpl+date)

From my point of view, groupHeaderTpl {name} for date columns (at least) - should take into account field's dateFormat or column's renderer if there will not be a groupRenderer() function anymore...

Thanks jfa :)