View Full Version : GroupingView style

3 Oct 2011, 2:50 AM
Need to make tpl for Grouping Grid. Now I'm doing a property groupTextTpl.
Code in it:

view : new Ext.grid.GroupingView({
startCollapsed : true,
forceFit : true,
groupTextTpl : '{[values.rs[0].data["name"]]} ({[values.rs.length]} {[values.rs.length > 1 ? "Items" : "Item"]})'

But I want to display next to the name drop-down lists - references and to move the inscription "1 items" to the right. Like this:

How to implement it?