PDA

View Full Version : How to change column name in a group header



celsospina
27 May 2015, 3:52 PM
When I use obj.OrcItemListaGrid.getColumnModel().setColumnHeader(8, 'Inst'); works fine in grid header, but when I have a group header, I donīt know how to it.


this.grupoSpan = new Ext.ux.grid.ColumnHeaderGroup({
rows: [
[
{header: 'Itens', colspan: 10, align: 'center'},
{header: forn1, colspan: 3, align: 'center', editor: this.cboForn1, renderer: Ext.ux.comboBoxRenderer(this.cboForn1)},
{header: forn2, colspan: 3, align: 'center'},
{header: forn3, colspan: 3, align: 'center'}
]
],
hierarchicalColMenu: true
});

Gary Schlosberg
1 Jun 2015, 8:51 AM
Does it throw any errors or just fail silently?