X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..3789b528d8dd8aad4558e38e22d775bcab1cbd36:/src/grid/feature/Summary.js diff --git a/src/grid/feature/Summary.js b/src/grid/feature/Summary.js index b4a4bd2a..bab6fa14 100644 --- a/src/grid/feature/Summary.js +++ b/src/grid/feature/Summary.js @@ -27,7 +27,7 @@ * not specified the default calculated value is shown. The summaryRenderer is called with: * * - value {Object} - The calculated value. - * - data {Object} - Contains all raw summary values for the row. + * - summaryData {Object} - Contains all raw summary values for the row. * - field {String} - The name of the field we are calculating * * ## Example Usage @@ -67,7 +67,7 @@ * dataIndex: 'student', * text: 'Name', * summaryType: 'count', - * summaryRenderer: function(value){ + * summaryRenderer: function(value, summaryData, dataIndex) { * return Ext.String.format('{0} student{1}', value, value !== 1 ? 's' : ''); * } * }, {