Results 1 to 4 of 4

Thread: is an editable treegrid possible?

  1. #1
    Sencha User
    Join Date
    Jan 2012
    Posts
    1
    Vote Rating
    0
      0  

    Question 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,318
    Answers
    3883
    Vote Rating
    1293
      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 @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    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
    2
      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
      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/

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •