PDA

View Full Version : Hiding the inner headers of the column in Grouping header.



yashodasuta
18 Apr 2013, 3:00 AM
HI

How to hide grouped columns inner header. For ex:

text : 'Stock Price', defaults : { width : 75, sortable : true }, columns : [ { text : 'Price', //width : 75, //sortable : true, renderer : 'usMoney', dataIndex : 'price' }, { text : 'Change', //width : 75, //sortable : true, renderer : change, dataIndex : 'change' } ] }Here i want to hide the headers of the price and change column. is there any idea to do this ? Any help is appreciated

slemmon
19 Apr 2013, 3:12 PM
I think you might either be after hideGroupedHeader
http://docs.sencha.com/extjs/4.2.0/#!/api/Ext.grid.feature.Grouping-cfg-hideGroupedHeader

or just the hidden config of a column:
http://docs.sencha.com/extjs/4.2.0/#!/api/Ext.grid.column.Column-cfg-hideable