PDA

View Full Version : [CLOSED] Ext.grid.feature.GroupingSummary: getting the current record in column.summaryRenderer



supera
Feb 20, 2013, 8:17 PM
Hi!!!

Some type that get the current record in column.summaryRenderer???
the parameters of function are filled with value only, without reference to record.



function (value, summaryData, field) {return Ext.util.Format.brMoney(value, null, 2);}

Baidaly
Feb 21, 2013, 12:38 AM
Hello!

SummaryRenderer renders only the final value. If you want have an access to records you can use CustomSummaryType: http://examples2.ext.net/#/GridPanel/Plugins/Summary/

supera
Feb 21, 2013, 1:05 PM
Hi Daniil!!!

Perfect! Much better that my first idea.

Thanks a lot.