Results 1 to 2 of 2

Thread: Panel Tools Dropdown Menu

  1. #1

    Join Date
    Jul 2008
    Location
    Seattle
    Posts
    11

    Default Panel Tools Dropdown Menu

    The Panel has Ext.Tools array which is great for adding button to the Panel's toolbar. Its added as a json array of objects as so:
    <Panel title="Custom Tools w/ iconCls"
    tools={[ {iconCls: 'x-fa fa-wrench', handler: toolHandler }, ... ]}/>

    Is there a way to add a dropdown menu to this toolbar? E.g.
    <Panel
    tools={ [ { iconCls:'x-fa fa-wrench, children: [ {another menuitem}, {another menuItem},...]}} ] }
    />

  2. #2
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,892
    Answers
    41

    Default

    Have the handler show a menu.

    Entails coding.

Similar Threads

  1. add dropdown menu to panel tool
    By Misiu in forum Ext: Discussion
    Replies: 18
    Last Post: 15 Jul 2014, 12:56 AM
  2. Combobox like dropdown menu
    By dmN86 in forum Ext: Q&A
    Replies: 6
    Last Post: 30 Dec 2011, 10:09 AM
  3. CSS dropdown menu behind panel
    By AgentSmith in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 26 May 2010, 3:11 PM
  4. Replies: 5
    Last Post: 18 Feb 2009, 7:57 AM
  5. [CLOSED] [1.2.2] Start menu tools panel width hardcoded
    By mariusz.pala in forum Ext GWT: Bugs (1.x)
    Replies: 5
    Last Post: 29 Jan 2009, 6:40 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
  •