Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5930893
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T14:37:03+00:00 2026-05-22T14:37:03+00:00

I use tree.Panel and TreeStore component. I use JSON file to store my datas

  • 0

I use tree.Panel and TreeStore component. I use JSON file to store my datas but i would like know, how to upgrade my data with a TreeStore ?!

I explain my problem : I have 2 components on my page :

Tree.Panel who display data with TreeStore and Panel to editing data, because i don’t find how to editing tree directly ?!

I want to use a Submit button to update data on my tree but i don’t understand how to do this?!

If its possible ?!

I don’t understand how i can add new node , upgrade node and delete node ?!

Or there exist maybe TreeEditor component ?!

Thanks a lot to helps 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T14:37:04+00:00Added an answer on May 22, 2026 at 2:37 pm

    I think we are yet to see a TreeEditor component. But there are ways to manipulate your existing tree. You should be able to add, update, remove tree nodes using the methods of NodeInterface.

    You have methods like:

    • appendChild
    • insertChild
    • insertBefore
    • removeChild
    • replaceChild

    etc…

    Here is a sample code how you can append a new node to your tree:

    var node = myTreeStore.getRootNode();
    
    node.appendChild({
        text: 'A New node'
    });
    

    Similarly you can make use of other methods to manipulate the tree. To insert node into specific location, you will have to use the insertChild. For this method, you will have to specify the location as well.

    In short, the access point of editing your tree is your TreeStore’s getRootNode() method.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm writing a Perl script and would like to use a n-ary tree data
I'm writing a Ruby script and would like to use a n-ary tree data
I would like know , what is the best way to sync/load tree panel
I want to use a tree in my Scala swing application, but the component
I use gitweb. In the tree view I see my source code. But this
I'd like to get the Tree icon to use for a homegrown app. Does
How do you set up your .NET development tree? I use a structure like
I have a JTree that I use as a file tree. If I choose
I was looking for something like 'load' listener of store in Extjs 4, but
How rebuild table 'products' with actually field 'category_id', when I use Tree Behavior, to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.