[CLOSED] 2 TreePanels with same store?

  1. #1

    [CLOSED] 2 TreePanels with same store?

    Hi,

    I have the following Case:
    TreePanel (width: 400, Height: 300) with a button in the TopBar. When user click on this Button , we open a new Window (width: 800, Height: 600) containing the same TreePanel.

    My Question is: Is it possible to copy the TreePanel into the new Window or at least using the TreePanel's store as a store for the new TreePanel?
    Or I am obliged to create a new TreePanel with a new Store?

    Thanks,
    Last edited by Daniil; May 15, 2014 at 4:31 AM. Reason: Please use [CODE] tags, [CLOSED]
  2. #2
    Hi @UnifyEducation,

    I would try to define a TreeStore separately and associate it to both TreePanels by its StoreID. I am not sure it will work well, but it is worth to try.
  3. #3
    Quote Originally Posted by Daniil View Post
    Hi @UnifyEducation,

    I would try to define a TreeStore separately and associate it to both TreePanels by its StoreID. I am not sure it will work well, but it is worth to try.
    Thanks Daniil, using StoreID property working well.

Similar Threads

  1. Replies: 3
    Last Post: Feb 21, 2012, 10:49 AM
  2. [CLOSED] Store: Is it possible to QueryBy a store with another store?
    By nhg_itd in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Nov 03, 2011, 9:38 AM
  3. [CLOSED] Access Grid Data Store and manually store to database
    By macap in forum 1.x Legacy Premium Help
    Replies: 8
    Last Post: Oct 05, 2011, 8:52 AM
  4. Replies: 1
    Last Post: Nov 01, 2010, 9:00 PM

Posting Permissions