1. #1
    Sencha User
    Join Date
    Jan 2012
    Posts
    1
    Vote Rating
    0
    gideondsouza is on a distinguished road

      0  

    Question Unanswered: is an editable treegrid possible?

    Unanswered: is an editable treegrid possible?


    There is the cell editing in grid example over here, and the TreeGrid example here.

    Now I want that editable/add functionality, where one can add/edit in place, I want this functionality in the TreeGrid . Something like the TreeGrid examples here (these are for Ext GWT)

    So first off, is it possible? I noticed that Ext.grid.Panel has plugin for cell editing but Ext.tree.Panel doesn't have any plugin.

    Is there an alternative, or any other solution? Could point me to where I would start?

    Thanks so much
    -Gideon

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,620
    Answers
    3452
    Vote Rating
    817
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    The tree and grid share a common superclass so I have seen people try using the grid cell editor but haven't heard of any success.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    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 in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Ext JS Premium Member
    Join Date
    Mar 2010
    Posts
    227
    Vote Rating
    1
    alphadogg is on a distinguished road

      0  

    Default


    Would like to know the same. Can an Ext.tree.Panel be made an editable grid with the existing ExtJS4.1 library, or with a little additional code?

    Adding Ext.grid.plugin.CellEditingView does not seem to work.

  4. #4
    Sencha User
    Join Date
    Oct 2011
    Location
    Vancouver, Canada
    Posts
    157
    Answers
    5
    Vote Rating
    14
    el_chief will become famous soon enough

      1  

    Default


    In what way does it not work? Are you using 4.07?

    Here it is, working:

    http://jsfiddle.net/el_chief/FjWZk/2/