Tuesday 18 November 2008

[ExtJs] Ext.grid.GroupingView : groupTextTpl

Get data for GroupingView

grid = new Ext.grid.GridPanel({
id: getGridArea,
ds: createStore,
cm: this.columnModelFile(),
view: new Ext.grid.GroupingView({
forceFit:true,
groupTextTpl: '{text}|{[ values.rs[0].data["state"] ]} ({[values.rs.length]} {[values.rs.length > 1 ? "Devices" : "Device"]})'
}),
// viewConfig: {
// forceFit:true
// },
sm: selectionModel,
width: 500,
height: 250,
//title: 'Firmware File List',
collapsible: false,
animCollapse: true,
bbar: pagingTool
});

2 comments:

cotton percale sheets king said...

This is one of the most incredible article I've read in a really long time. I hope you update this blog often because I’m anxious to read more about.
oversized king size quilts ,
king size farmhouse comforter sets ,

Unknown said...

Full Article Dolabuy Chloe read this post here best replica designer bags check out the post right here basics