Reputation: 966
I know it is possible to use grid's summary plugin and dock it to the bottom or top of the grid (underneath the header part), however I was wondering if it is possible and how would one go about putting the summary right above the grid headers..
Thanks.
Upvotes: 0
Views: 689
Reputation: 20234
Evan Trimboli gave the correct hint: You can adjust the weight of the summaryBar. This does not take immediate effect at runtime, so to enforce the new weight being used, you will have to call moveDocked
:
panel.down('[itemId=summaryBar]').setWeight(99);
panel.moveDocked(panel.down('[itemId=summaryBar]'), 'top');
https://fiddle.sencha.com/#fiddle/1g4c
Upvotes: 1