[CLOSED] Dynamic TreePanel

  1. #1

    [CLOSED] Dynamic TreePanel

    Hi,

    I have a DropDownField with TreePanel in component tag which root value depends of other control (Combobox). I need to change the root dynamically from store via javascript.

    I have used setRootNode, but when I change combobox value, treePanel is not charged yet. I've seen that treepanel is only charged when DropDownField is expanded.

    Am I right? How can I change root value when I change combobox value?


    I'm using Ext.Net v2.1 r4377
    Last edited by Daniil; Jun 04, 2013 at 1:21 PM. Reason: [CLOSED]
  2. #2
    Hi @softmachine2011,

    Please try to force creating a DropDownField's Component by calling:
    dropDownField.getPicker();
    It should be called before selecting in a ComboBox.
  3. #3
    Hi,

    Thank you, it works right!

Similar Threads

  1. [CLOSED] Treepanel dynamic loading with autoexpand
    By softmachine2011 in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Sep 07, 2012, 12:41 PM
  2. Binddata dynamic data to Treepanel
    By qlot in forum 1.x Help
    Replies: 0
    Last Post: Aug 04, 2012, 3:50 AM
  3. [CLOSED] Dynamic control and treepanel asyncnode
    By bakardi in forum 1.x Legacy Premium Help
    Replies: 8
    Last Post: Oct 13, 2011, 6:42 PM
  4. [CLOSED] Creating a Dynamic Treepanel.
    By Shanth in forum 1.x Legacy Premium Help
    Replies: 8
    Last Post: Sep 15, 2011, 5:01 AM
  5. Dynamic Checkbox TreePanel
    By Ganesh3.shirsath in forum 1.x Help
    Replies: 1
    Last Post: Jan 27, 2011, 1:16 PM

Posting Permissions