Results 1 to 6 of 6

Thread: Tree Panel as ComboBox's Picker Menu

    Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha Premium Member
    Join Date
    Jun 2013
    Posts
    6

    Default Tree Panel as ComboBox's Picker Menu

    When using a Tree Panel as a ComboBox's picker menu, in ExtJS 4.x, the combo's alignPicker() method shrink wrapped the tree panel's height, so we called it after a tree node is expanded or collapsed. This doesn't work in ExtJS 5.x. Is there another way to shrink wrap the tree panel's height?

    https://fiddle.sencha.com/#fiddle/g50

  2. #2
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,258

    Default

    Remove height: 'auto', just omit the config altogether.
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

  3. #3
    Sencha Premium Member
    Join Date
    Jun 2013
    Posts
    6

    Default

    Wow, that was simple. THANK YOU!!!

  4. #4
    Sencha User Phil Guerrant's Avatar
    Join Date
    May 2011
    Location
    Colorado
    Posts
    352

    Default

    You might also want to take a look at Ext.ux.TreePicker and see if it meets your needs.
    Phil Guerrant
    Ext JS - Development Team

  5. #5
    Sencha Premium Member dolev's Avatar
    Join Date
    Feb 2015
    Location
    Israel
    Posts
    114

    Default example?

    Wish there were at least one example showing how to do it...

  6. #6

    Default

    Yes, an example on how to deal with the TreePicker will be greatly appreciate.

Posting Permissions

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