WendyLG
4 Oct 2012, 5:34 AM
We have a grid with 2 action columns created :
return Ext.create("Ext.grid.column.Action", {
dataIndex: 'index',
text: col.title,
width: 'auto',
icon: 'resources/images/default/icon/viewAttachment.gif',
align: 'center',
tooltip: 'View attachment',
sortable: false,
getClass: me._getAttachmentColumnCss,
handler: me._viewAttachment
});
but the column menu header just lists the column as "Actions", it doesn't use the text.
How are we supposed to fix this?
return Ext.create("Ext.grid.column.Action", {
dataIndex: 'index',
text: col.title,
width: 'auto',
icon: 'resources/images/default/icon/viewAttachment.gif',
align: 'center',
tooltip: 'View attachment',
sortable: false,
getClass: me._getAttachmentColumnCss,
handler: me._viewAttachment
});
but the column menu header just lists the column as "Actions", it doesn't use the text.
How are we supposed to fix this?