23 Jun 2010 6:53 AM #1
Toolbar buttons with close ability?Hi folks... I wanted to see if anyone had done this already and was willing to share before I put in the time to code it myself, or open a feature request...
Has anyone create a toolbar with buttons that have a little close icon (an X usually) that, when clicked, calls a callback function and, it if returns true, the button is removed from the toolbar?
I have an app where multiple accounts can be opened and we previously were using another library and I'm not converting it to ExtJS and this is one feature we need. It's probably not a huge effort to do it myself, but I figured if it was available somewhere already that would be great. I looked around a bit and didn't see anything, either as built-in functionality or as an extension.
FrankFrank W. Zammetti
Author of "Practical Palm Pre webOS Projects"
and "Practical Ext JS Projects with Gears"
and "Practical Dojo Projects"
and "Practical DWR 2 Projects"
and "Practical Ajax Projects with Java Technology"
(For info: apress.com/book/search?searchterm=zammetti&act=search)
All you could possibly want is here: zammetti.com
By silcreval in forum Ext 3.x: Help & DiscussionReplies: 1Last Post: 13 Apr 2011, 12:36 PM
By jerojerome52 in forum Ext 2.x: Help & DiscussionReplies: 0Last Post: 21 Jan 2010, 7:05 AM
By Britace in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 19 Nov 2009, 7:26 PM
By ashleywong in forum Ext GWT: Bugs (1.x)Replies: 4Last Post: 27 Jun 2008, 6:38 AM