Treepanel - Expand Node on Single Click - How to?

  1. #1

    Treepanel - Expand Node on Single Click - How to?

    How do I expand a node in a treepanel with a single click Vs a double? Must be easy and am just missing something obvious?
  2. #2
    Hi @Tbaseflug,

    1. Set up
    <ext:TreeView runat="server">
        <CustomConfig>
            <ext:ConfigItem Name="ToggleOnDblClick" Value="false" Mode="Raw" />
        </CustomConfig>
    </ext:TreeView>
    or just
    <ext:TreeView runat="server" ToggleOnDblClick="false" />
    with the v2.2 release.

    2. Set up an ItemClick listener.
    view.toggle(record);

Similar Threads

  1. Replies: 2
    Last Post: Dec 12, 2012, 12:47 PM
  2. TreePanel expand node behaviour
    By web4u in forum 2.x Help
    Replies: 1
    Last Post: Aug 28, 2012, 2:02 PM
  3. Replies: 6
    Last Post: Jan 28, 2012, 2:14 AM
  4. Replies: 0
    Last Post: Mar 16, 2010, 8:26 PM
  5. TreePanel node expand button IE8
    By methode in forum 1.x Help
    Replies: 8
    Last Post: Sep 08, 2009, 5:00 AM

Posting Permissions