Apr 16, 2013, 8:54 AM
Grouping summary and summary in one grid
Hi I need both grouping summary and summary in many gridpanels.
I found example in explorer https://examples2.ext.net/#/GridPane...ping_TotalRow/
But its code is not very reusable.
Vhen I look at sencha examples, there is this one
http://docs.sencha.com/extjs/4.2.0/e...tml?theme=gray
which don't need custom javascript functions
it looks like this is relevant sourcecode:
I try
Is there any reusable way how to get groupingsummary and summary on one grid
I found example in explorer https://examples2.ext.net/#/GridPane...ping_TotalRow/
But its code is not very reusable.
Vhen I look at sencha examples, there is this one
http://docs.sencha.com/extjs/4.2.0/e...tml?theme=gray
which don't need custom javascript functions
it looks like this is relevant sourcecode:
features: [{
id: 'group',
ftype: 'groupingsummary',
groupHeaderTpl: '{name}',
hideGroupedHeader: true,
enableGroupingMenu: false
}, {
ftype: 'summary',
dock: 'bottom'
}]
but I don't know how to use it in ext.netI try
<Features>
<ext:GroupingSummary runat="server" GroupHeaderTplString="{name}" id="GridSummary"
HideGroupedHeader="true" ShowSummaryRow="true" />
<ext:Summary id="RozpocetSummary" runat="server" ShowSummaryRow="true" />
</Features>
But id don't workIs there any reusable way how to get groupingsummary and summary on one grid