.
.
I m having a gridpanel.
I have shown an alert on clicking save button.
.
.
I have used MessageBox like this:
Ext.Msg.show({
msg: data,
buttons : Ext.MessageBox.OK,
icon: Ext.Msg.ERROR
});
Somehow I have achieved that by using the id that is generated in DOM like this:
{
action : 'click',
target : 'button[id="button-1005-btnEl"]'
}
So i want a solution that is permanent..
Please help me out..
Thanks in advance