I'm a new user in ExtJs Designer and I'm discovering the software.
I have a question about button in ExtJs Designer, I'm trying to put a button and to add a handler to this button but I don't find where I can do that.
So I would like to know if it's possible to add an handler to a button in ExtJs designer ?
Hmm, I've been looking for the same, and couldn't find it either.
I edited the MyViewport.ui.js file. I know you're not supposed to, but to make it work with ASP/AJAX postbacks and make it working with ContentEl's I had to :-).
I'm not sure, but i couldn't find it..
for none of the components to be honest..
i just got in the *.ui.js file and added a handler for my button like this:
handler: function() {
var myWindow = new MyWindow({
renderTo: Ext.getBody()
});
myWindow.setTitle('Help');
myWindow.show();
Ok I know what you mean.
But I will have a problem when I will open and save my project with ExtJs Designer after editing the *.ui.js file. ExtJs Designer will override the *.ui.js file and delete my handler.
Yep, It will. That's why I try to make as little edits as possible.
But i think my design is now complete, so I can work with it now!
Maybe there is something about this topic in the help or Request sections?