1. #1
    Sencha User
    Join Date
    May 2011
    Posts
    11
    Vote Rating
    0
    pduraisa is on a distinguished road

      0  

    Default Treepanel inside combo box

    Treepanel inside combo box


    hi,

    how to get treepanel inside combobox in extjs3.3.i used this coding but i got a tree panel in formpanel.how do i get this inside combo.

    items:{
    xtype:'fieldset',
    labelWidth: 15,
    title: 'Tech Practice',
    layout:'column',
    items:
    [{
    xtype:'treepanel',
    columnWidth:'0.2',
    loader : new Ext.tree.TreeLoader({
    preloadChildren: false,
    clearOnLoad: true,
    url: 'xml/CSAT-HeirarchyGrouping.json'
    }),

    root : new Ext.tree.AsyncTreeNode({
    text: 'root',
    draggable:false,
    id: 'root'
    }),
    tree : new Ext.tree.TreePanel({
    width: 200,
    rootVisible: false,
    animate: false,
    loader: this.loader,
    collapseFirst: false
    })


    regards,
    palani

  2. #2
    Sencha User tobiu's Avatar
    Join Date
    May 2007
    Location
    Munich (Germany)
    Posts
    2,681
    Vote Rating
    112
    tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all

      0  

    Default


    the list of a combobox is always a plain dataview.

    you can use a triggerField instead, create a custom floating container aligned under it which contains your treePanel (or directly show your treepanel).
    Best regards
    Tobias Uhlig
    __________

    S-CIRCLES Social Network Engine

Thread Participants: 1