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 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 User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,062
    Answers
    3976
    Vote Rating
    1391
      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
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  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
  •