Results 1 to 4 of 4

Thread: How to Expand child nodes of tree list on click or dbl click on parent element?

  1. #1
    Sencha User
    Join Date
    Jul 2017
    Posts
    3
    Answers
    1

    Default Answered: How to Expand child nodes of tree list on click or dbl click on parent element?

    The issue is that when I click on treelist parent element it does not expand like it expand on dblclick in treepanel. anyone can help me to find what should i do to achieve that?

  2. not in my case but this help me out and i find my answer
    You can set Ext.list.Tree.expanderOnly to false to allow expansion on click of any part of the element.
    Check this fiddle https://fiddle.sencha.com/#view/editor&fiddle/23nj

  3. #2
    Sencha User
    Join Date
    Jul 2017
    Posts
    3
    Answers
    1

    Default

    Any sencha expert how can help me here? I will be very thankful to u

  4. #3
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    I'm probably missing something, but doesn't it already work that way?
    https://fiddle.sencha.com/#view/editor&fiddle/23of

  5. #4
    Sencha User
    Join Date
    Jul 2017
    Posts
    3
    Answers
    1

    Default

    not in my case but this help me out and i find my answer
    You can set Ext.list.Tree.expanderOnly to false to allow expansion on click of any part of the element.
    Check this fiddle https://fiddle.sencha.com/#view/editor&fiddle/23nj

  6. #5
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    Ah I see now. Glad to hear you found the solution, and thanks for sharing it with the community!

Similar Threads

  1. Replies: 2
    Last Post: 5 May 2014, 4:37 AM
  2. Replies: 2
    Last Post: 2 May 2014, 12:37 AM
  3. Expand child node in tree after context menu click
    By TheBigOnion in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 31 May 2011, 12:02 PM
  4. Single click expand tree nodes
    By catapult in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 11 May 2010, 8:23 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •