PDA

View Full Version : [DUP] [4.2.1 beta 1] renderedGroupValue is missing



cabal
1 May 2013, 11:33 AM
REQUIRED INFORMATION
Ext version tested:

Ext 4.2.1 beta 1

Browser versions tested against:

FF 20

DOCTYPE tested against:

4.01 Transitional

Description:
In grouping feature there is template named groupHeaderTpl
It's documentation says, that there is an option to use renderedGroupValue in the template.
The problem is, that this variable is not available. It is not assigned in code. For grouper, column renderer is never used.

Test Case:
Use grouping example with grouper configuration:

features: [{
ftype: 'grouping',
groupHeaderTpl: '{columnName}: {renderedGroupValue}',
}],


HELPFUL INFORMATION
Add column renderer in Grouping.js / setupRowData, ~1030


groupInfo.renderedGroupValue = header ? header.renderer.call(header.scope || header, groupInfo.groupValue, {tdCls: '', style: ''}, record) : groupName;

slemmon
1 May 2013, 1:10 PM
Thanks for the bug report!

Looks like this is an open bug:
http://www.sencha.com/forum/showthread.php?253236