X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..3789b528d8dd8aad4558e38e22d775bcab1cbd36:/docs/source/Summary.html diff --git a/docs/source/Summary.html b/docs/source/Summary.html index 66623c39..42da94ba 100644 --- a/docs/source/Summary.html +++ b/docs/source/Summary.html @@ -1,4 +1,21 @@ -
/**
+
+
+
+
+ The source code
+
+
+
+
+
+
+ /**
* @class Ext.grid.feature.Summary
* @extends Ext.grid.feature.AbstractSummary
*
@@ -27,7 +44,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 +84,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' : '');
* }
* }, {
@@ -87,7 +104,7 @@ Ext.define('Ext.grid.feature.Summary', {
/* End Definitions */
- /**
+ /**
* Gets any fragments needed for the template.
* @private
* @return {Object} The fragments
@@ -98,7 +115,7 @@ Ext.define('Ext.grid.feature.Summary', {
return this.getSummaryFragments();
},
- /**
+ /**
* Overrides the closeRows method on the template so we can include our own custom
* footer.
* @private
@@ -112,7 +129,7 @@ Ext.define('Ext.grid.feature.Summary', {
}
},
- /**
+ /**
* Provide our own custom footer for the grid.
* @private
* @return {String} The custom footer
@@ -121,7 +138,7 @@ Ext.define('Ext.grid.feature.Summary', {
return '</tpl>{[this.printSummaryRow()]}';
},
- /**
+ /**
* Gets the data for printing a template row
* @private
* @param {Number} index The index in the template
@@ -144,7 +161,7 @@ Ext.define('Ext.grid.feature.Summary', {
return data;
},
- /**
+ /**
* Generates all of the summary data to be used when processing the template
* @private
* @return {Object} The summary data
@@ -166,4 +183,6 @@ Ext.define('Ext.grid.feature.Summary', {
}
return data;
}
-});
\ No newline at end of file
+});
+
+