Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  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);