luchini.leonardo
28 Mar 2019, 6:26 PM
headerContainer: {
xtype: 'headercontainer'
}
And the column documentation says that it accepts as an object with items, that doesn't work, to use with items is necessary make use of headerContainer.
Doesn't work:
columns: {
items: [
{ text: 'ID Chamada', dataIndex: 'CdiChamada'},
{ text: 'Severidade', dataIndex: 'SeveridadeSLA', width: 120 }]
}
Works:
headerContainer: {
xtype: 'headercontainer',
items: [
{ text: 'ID Chamada', dataIndex: 'CdiChamada'},
{ text: 'Severidade', dataIndex: 'SeveridadeSLA', width: 120 }]
}
xtype: 'headercontainer'
}
And the column documentation says that it accepts as an object with items, that doesn't work, to use with items is necessary make use of headerContainer.
Doesn't work:
columns: {
items: [
{ text: 'ID Chamada', dataIndex: 'CdiChamada'},
{ text: 'Severidade', dataIndex: 'SeveridadeSLA', width: 120 }]
}
Works:
headerContainer: {
xtype: 'headercontainer',
items: [
{ text: 'ID Chamada', dataIndex: 'CdiChamada'},
{ text: 'Severidade', dataIndex: 'SeveridadeSLA', width: 120 }]
}