gevik
15 Jan 2012, 1:50 AM
Hi,
Please provide a better implementation for the action items of the Ext.grid.column.Action. The current implementation creates IMG elements based on an undefined component spec.
To keep this consistent, the Action items should have a defined component structure. You already have done this for Panel tools, so the implementation should be trivial.
Consider:
Ext.grid.column.action.Command:
with configs:
toolTip,
icon or iconCls
with listeners:
handler
and:
Ext.grid.column.action.LinkCommand (renders text/link instead of IMG):
with configs:
toolTip,
text
with listeners:
handler
Please provide a better implementation for the action items of the Ext.grid.column.Action. The current implementation creates IMG elements based on an undefined component spec.
To keep this consistent, the Action items should have a defined component structure. You already have done this for Panel tools, so the implementation should be trivial.
Consider:
Ext.grid.column.action.Command:
with configs:
toolTip,
icon or iconCls
with listeners:
handler
and:
Ext.grid.column.action.LinkCommand (renders text/link instead of IMG):
with configs:
toolTip,
text
with listeners:
handler