-
27 Dec 2012 9:52 AM #1
ComboBox editor in tree panel
ComboBox editor in tree panel
ExtJS 4.1.2
Architect 2.1.0
Problem: I want a tree grid panel, with an editable column combobox.
So I want to have a CellEditting plugin on the tree.
In architect, this is where my issue begins.
I can't drag the cell editing feature from the toolbox to the project inspector over the tree panel.
That's fine, so I went to create a custom property for plugins.
When I do that, as soon as I create the desired array object, Architect turns it into a string instead of an object.
It seems to do this as soon as I use Ext.create().
I'm copying and pasting the code that Architect has used for a cell edit plugin elsewhere.
This is exactly what I'm putting into the plugin, in the main window, as an array type:
And this is the result:Code:[ Ext.create('Ext.grid.plugin.CellEditing', { ptype: 'cellediting', clicksToEdit: 1 }) ]
Is this a bug?Code:plugins: '[ \nExt.create(\'Ext.grid.plugin.CellEditing\', {\n ptype: \'cellediting\',\n clicksToEdit: 1\n })\n]',
Can anyone suggest how to sidestep this in the short term so that I can create a cell editable tree panel?
Thanks
Gareth
-
2 Jan 2013 11:44 AM #2
Put it in an override.
Architect is unable to determine the JS Expression Ext.create and therefore stringifies what you've put in.Aaron Conran
@aconran
Sencha Architect Development Team
-
3 Jan 2013 1:01 AM #3
Thanks.
Is this likely to change/be fixed?
G
-
4 Jan 2013 10:22 AM #4
There are some features that we are adding in Architect 2.2 that simplify this like processConfig.
Similar thread:
http://www.sencha.com/forum/showthre...w-plugin-issueAaron Conran
@aconran
Sencha Architect Development Team
This issue duplicates another issue.


Reply With Quote