lundi 17 novembre 2014

Cant clear dataIndex of column header on composite column

Hi.

I have a grid which has a composite column with some child like:


{

xtype: 'gridcolumn',

dataIndex: 'string',

text: 'A',

columns: [

{

xtype: 'numbercolumn',

width: 120,

align: 'right',

dataIndex: 'number',

text: 'MM visita',

format: '0'

},

{

xtype: 'numbercolumn',

width: 120,

align: 'right',

dataIndex: 'number',

text: 'MM revisita',

format: '0'

},

{

xtype: 'numbercolumn',

width: 120,

align: 'right',

dataIndex: 'number',

text: 'MM visita total',

format: '0'

},

{

xtype: 'numbercolumn',

width: 120,

align: 'right',

dataIndex: 'number',

text: 'MM revisita total',

format: '0'

}

]

}


I published and run the app then Ext complained:


"Ext.grid.column.Column: Group header may not accept a dataIndex"


So I went to SA and tried to clear dataIndex but SA doesn't allow:

"This config value for is mandatory"


The only work around was direct metadata file edit which, luckily, worked.


Please fix this in the next release.


Regards.






Cant clear dataIndex of column header on composite column

Aucun commentaire:

Enregistrer un commentaire