This issue duplicates another issue.
  1. #1
    Touch Premium Member
    Join Date
    Apr 2011
    Posts
    61
    Vote Rating
    0
    gbjk is on a distinguished road

      0  

    Default 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:
    Code:
    [ 
    Ext.create('Ext.grid.plugin.CellEditing', {
        ptype: 'cellediting',
        clicksToEdit: 1
        })
    ]
    And this is the result:
    Code:
    plugins: '[ \nExt.create(\'Ext.grid.plugin.CellEditing\', {\n    ptype: \'cellediting\',\n    clicksToEdit: 1\n    })\n]',
    Is this a bug?

    Can anyone suggest how to sidestep this in the short term so that I can create a cell editable tree panel?

    Thanks

    Gareth

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    8,882
    Vote Rating
    101
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    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. #3
    Touch Premium Member
    Join Date
    Apr 2011
    Posts
    61
    Vote Rating
    0
    gbjk is on a distinguished road

      0  

    Default


    Thanks.

    Is this likely to change/be fixed?

    G

  4. #4
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    8,882
    Vote Rating
    101
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    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-issue
    Aaron Conran
    @aconran
    Sencha Architect Development Team

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar