PDA

View Full Version : Grid Grouping: Tools in group heading



csnet_au
24 Jul 2013, 6:11 PM
Is there a way to add tools to the group headings of a grid like you can add tools to the grid panel's header? I want to add tools for editing, deleting, and adding children for each group.

slemmon
25 Jul 2013, 10:53 PM
While there's not a way to add components to the group header (it is not a Container that accepts child items) you can put any markup you'd like in the groupHeaderTpl including images.
http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.grid.feature.Grouping-cfg-groupHeaderTpl