Problem with TreePanel Selection[1.0]

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Problem with TreePanel Selection[1.0]

    Hii,

    I am facing this strange problem with treepanel selection model.I have treepanel on my page.The tree can go to any depth.
    Level1
    - -Level2(inside level1)
    --level3(inside level2)
    -- Level 4(inside level3)

    Say the treepanel id is TreePanel1.In the code-behind the code goes something like this:

    TreePanel1.ExpandAll();
    TreePanel1.SelectNode(nodeid);

    The following code seems to work well till level 2 .Level2 onwards though the tree expands but selection cannot be seen on node at level2 nor level3 or level4.

    I even tried adding javascript for the above but found the same result.

    Please what i need to do is when the user adds a new node , that node should get selected .if its a child node the extreme parent other than the root should get expanded and this node should get selected.

    Plz help.
    Last edited by suchit_patel; Jul 21, 2010 at 8:39 AM. Reason: Level dispay

Similar Threads

  1. TreePanel selection model
    By joris.moonen in forum 2.x Help
    Replies: 1
    Last Post: Nov 12, 2015, 3:45 PM
  2. [CLOSED] Keep TreePanelĀ“s selection after local sort
    By RCN in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Jun 23, 2012, 7:05 PM
  3. [CLOSED] Disable the hover selection on a TreePanel
    By jmcantrell in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Feb 17, 2012, 7:14 AM
  4. [CLOSED] TreePanel using AjaxMethod - Selection issue
    By deejayns in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Jan 06, 2012, 9:48 AM
  5. TreePanel Selection
    By erey in forum 1.x Help
    Replies: 0
    Last Post: Jul 02, 2009, 4:12 PM

Tags for this Thread

Posting Permissions