PDA

View Full Version : handler



necco
25 Mar 2010, 12:07 AM
I'm a beginner with ExtJS... I installed the Ext Designer... I made a simple project with a window and form panel. I'm confused because I don not know how to attach a handler to the button (there is not handler property in the list).
How I have to proceed? I have 3 .js files... one of the is .ui.js. Where to put the handler because in Designer I haven't it. :((

abe.elias
25 Mar 2010, 12:39 AM
We are working on a quick start video while the docs are prepared. For now, please place your handlers in the implementation files (not the .ui.js).

cmendez21
25 Mar 2010, 1:13 AM
Hi, About handlers i think it could be more useful rather than a property but the ability to customize (type, add, change) some code on the Code section in the designer (javascript / Json )
what do you guys think about this ? :)

necco
25 Mar 2010, 1:28 AM
Thanks for reply... I understood to let the .ui.js file untouched... but if I have there a button how to attach a handler to that button into the implementation .js file? I'm beginner with ExtJS and this is a little bit confusing me. Could you post some demo code here?
Thanks.