1. #1
    Ext User
    Join Date
    Jun 2007
    Posts
    23
    Vote Rating
    0
    xerifa is on a distinguished road

      0  

    Question select node programmatically.

    select node programmatically.


    Hi

    I'm working on a tree panel where on selection of node we can set item in content-panel like

    ie. on selecting Node A suppose we get screen 'abs-form-panel' like

    Ext.getCmp('content-panel').layout.setActiveItem('abs-form-panel');

    Now in the flow the screen on content-panel is changed say to screen B.

    Also screen B is accesible by clicking Node B.

    What I want is automatically on changing to screen B , Node B should be automatically selected.

    Here Node A and Node B belongs to different parent.

  2. #2
    Ext User
    Join Date
    Jun 2007
    Posts
    23
    Vote Rating
    0
    xerifa is on a distinguished road

      0  

    Default


    It worked like this

    Ext.getCmp('content-panel').layout.setActiveItem('open-panel');
    Ext.state.Manager.set("treestate", '/ynode-10/ynode-457/open');
    var theState = Ext.state.Manager.get("treestate");
    Ext.getCmp('tree-panel').selectPath(theState);

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