Results 1 to 2 of 2

Thread: show toolbar menu

  1. #1
    Sencha User
    Join Date
    Jan 2010
    Location
    Germany
    Posts
    27

    Default show toolbar menu

    Hey,
    I have a toolbar with a menu in a panel:
    Code:
    new Ext.Toolbar({
    		id: 'tool',
    		items: [{
    			id: 'menue',
    			xtype:'tbbutton',
    			text:'menu',
    			menu: [{
    				text: '', 
    				id:'show',
    				scope:this,
    				iconCls: 'show',
    				handler: function() {show();}
    			},{
    				text: 'Clear',
    				id:'clear',
    				iconCls: 'clear',
    				handler: function() {clear();}
    			},{
    				text: 'Download',
    				id:'download',
    				iconCls: 'download',
    				handler: function(){
    					download();
    				}
    			}]
    		}
    		]
    	});
    I would like to show the open (uncollapsed) menu all time - until I decide to collapse it.
    I was trying showMenu() which actually works fine when I load my page, but as soon as the focus is not on the menu anymore (as soon as I click somewhere else), it collapses.
    Is there a way to show the menu all time, until I say hide menu?

    Thanks!

  2. #2
    Sencha User
    Join Date
    Jan 2010
    Location
    Germany
    Posts
    27

    Default

    is there no way to do that?

Similar Threads

  1. Overflow ToolBar menu show Tooltip Text instead Text
    By terciofilho in forum Ext GWT: Discussion
    Replies: 2
    Last Post: 7 Aug 2009, 11:22 AM
  2. Show/hide toolbar menu on mouseover
    By sl5337 in forum Ext 3.x: Help & Discussion
    Replies: 5
    Last Post: 3 Aug 2009, 4:00 AM
  3. Button menu-active style no longer added/removed on menu show/hide
    By wdrwilson in forum Ext GWT: Help & Discussion (1.x)
    Replies: 1
    Last Post: 24 Nov 2008, 6:11 AM

Posting Permissions

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