Results 1 to 3 of 3

Thread: Tree modification

  1. #1

    Default Tree modification

    I have to develop an example where I could copy a part of a tree and paste it to another tree. I am new to ExtJS/ExtReact. Could anyone please share a code sample to enable tree content modifications - adding/ removal tree nodes. I wonder is it possible to display menu upon selecting a tree node?

    Thanks

  2. #2
    Sencha - Sustaining Engineer tristan.lee's Avatar
    Join Date
    Mar 2015
    Location
    Central Ohio
    Posts
    1,579
    Answers
    165

    Default

    Tree nodes implement the NodeInterface (http://docs.sencha.com/extjs/6.5.1/m...Interface.html) which allows you to add/remove children of a node. Similar manipulation can also be done on the TreeStore (http://docs.sencha.com/extjs/6.5.1/m...TreeStore.html).

    To get started, I would check out our tree examples. While they don't have all of your requirements, it's a place to get an understanding of how to manipulate the tree and store:

    http://examples.sencha.com/extjs/6.5.../?modern#trees
    http://examples.sencha.com/ExtReact/...ensink/#/trees
    Tristan Lee
    Sencha Inc - Sustaining Engineer


    Having an issue? Help us help you - be detailed; provide some code; demonstrate with a fiddle (fiddle.sencha.com)

    Embed your fiddle in your post: [FIDDLE]id[/FIDDLE]

  3. #3

    Default

    Thanks a lot

Similar Threads

  1. Tree Example Modification
    By mitchellsimoens in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 15 Sep 2014, 3:49 PM
  2. Replies: 2
    Last Post: 25 May 2012, 8:23 PM
  3. TabPanel modification
    By pd1980 in forum Sencha Touch 1.x: Discussion
    Replies: 5
    Last Post: 6 Mar 2012, 10:19 PM
  4. Paging modification
    By Mycoding in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 14 Jun 2010, 11:23 AM
  5. i cant see my modification
    By islem in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 28 Apr 2008, 12:54 AM

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
  •