Usman's Idea
Things I tryout and learn , experienced and explored
Projects
All
.Net
Php
Extjs & touch
Java ( J2SE, J2EE, Android )
JQuery & JavaScript
IOS & Mac
Databases
CSS
Designing
Gamming
General
Tools & other
Know me
Thursday, 19 September 2013
Attach view to button , Extjs
To attach a view ( must be a floating component like window ) to a button , so that on clicking a button results a view to open attached to that button , you can use the following code inside your button click action inside your controller. i.e.
var menu= Ext.create('Main.view.MyView', {
left: 0,
padding: 10,
}).showBy(button);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment