-
15 Jan 2012 1:50 AM #1
Ext.grid.column.Action items inconsistency
Ext.grid.column.Action items inconsistency
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:
Code: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 #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,107
- Vote Rating
- 453
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 Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
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 services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
16 Jan 2012 3:46 PM #3
Hi Gevik,
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



Reply With Quote