View Full Version : Adding feature for a grid to the toolbar or somewhere outside the grid

18 Mar 2015, 5:19 AM
Hey together,

is it possible to add a summary feature to a grid but put it into a toolbar or somewhere else.

I want to have the feature on top of the header of my grid so I tried to put it into a docked toolbar, but it didn't work.

I also can't find a example for it so may somebody does know one or can help me?


Gary Schlosberg
19 Mar 2015, 8:17 PM
Not sure about putting it in a toolbar, but you can put the summary row at the top using the dock (http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.grid.feature.Summary-cfg-dock) config:

19 Mar 2015, 11:08 PM
Yes thanks,

I have it like this now, but my designer want's it to be on top of the headerContainer :(

So may I try to have 2 grids and sync them if one changes the size.

1 Apr 2015, 1:09 AM
To resolve the Problem I put a table in the toolbar and then sync the columnwidth, etc.

This worked fine.