1. #1
    Ext JS Premium Member Ronald Hofstede's Avatar
    Join Date
    Sep 2010
    Location
    The Netherlands
    Posts
    20
    Vote Rating
    1
    Ronald Hofstede is on a distinguished road

      0  

    Default Multiple TreePanels sharing the same TreeStore

    Multiple TreePanels sharing the same TreeStore


    Can anyone help me out on this?

    I'm trying to have multiple treepanels share a single treestore. Each of the treepanels is supposed to have a different root node, and thus display a different subtree of the store.

    But I keep running into troubles trying to get it right. So i'm starting to wonder if what I want is supposed to be possible at all?

  2. #2
    Sencha User
    Join Date
    May 2009
    Posts
    91
    Vote Rating
    0
    AndreKR is on a distinguished road

      0  

    Default


    The information if being the root node is a property of the node itself. You probably have to subclass TreeStore and Tree and provide a NodeInterface yourself to make this work. (Look at data/TreeStore.js, data/Tree.js and data/NodeInterface.js.)
    I think I'd rather store the data in a separate TreeStore and subclass Proxy to make a proxy that provide the three nodes with their respective "view" on the tree data.

Similar Threads

  1. Multiple comboboxes sharing the same store (and adding values)
    By cgalpin in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 6 Dec 2010, 7:27 PM
  2. Sharing the same menu and handlers among multiple components
    By gr_great_2000 in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 19 Jul 2010, 7:41 AM

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi