PDA

View Full Version : Button of my WINDOW should be AUTOMATICALLY CLICKED



sanmax
27 Jun 2010, 11:32 PM
Hi,

I have a window (Ext.Window) with a form and couple of buttons ('add' and 'delete') in it. I want to trigger the click event of these buttons programmatically. something like Ext.getCmp('add').click(); .

Kindly help me.

Thanks in advance,
Sanmax