15 Jan 2012 1:50 AM #1
Ext.grid.column.Action items inconsistency
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.
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
15 Jan 2012 2:38 PM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
The issue I see with making the action items a component is you will have a lot of them and what will this do to performance?Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
16 Jan 2012 3:46 PM #3
I've just created `Its.grid.column.Component`. This component allows you to render Ext component(s) in the grid column. It can be used to replace `Ext.grid.column.Action` (by render buttons) and many other kinds of grid column.
16 Jan 2012 10:14 PM #4
That is awesome, thax