PDA

View Full Version : ActionColumnItem text next to icon



ludalex
23 Jun 2014, 1:04 AM
Hello everyone,

I have an 'actioncolumn', which of course contains 'ActionColumnItem' items.



{
xtype: 'actioncolumn',
autoRender: true,
dataIndex: 'dateIndexSample',
icon: 'http://cdn.sencha.com/ext/gpl/4.2.1/examples/shared/icons/fam/folder_go.gif',
items: [
{


disabled: false,
icon: 'http://cdn.sencha.com/ext/gpl/4.2.1/examples/shared/icons/fam/folder_go.gif',
tooltip: 'Sample Action'
}
]
}


'ActionColumnItem' can have an icon property but not a text one.
What I would need is to display for each action an icon followed by the text that describes that action.

I tried using the 'renderer' function in the 'actioncolumn' to add a text next to each icon, but without success.
Anybody knows how to do it?

Thanks in advance.

ludalex
25 Jun 2014, 6:36 AM
Bump.

Gary Schlosberg
25 Jun 2014, 7:59 PM
Here's a thread that might help:
http://www.sencha.com/forum/showthread.php?283512