How to get component path using EXTJS?
Hi
I need to know the component path when clicking on the ok button.
i have written handler for ok button and it is working fine.
Now, i need to get the component path.
Any help?
Thanks,
Vikram.
Hi
I need to know the component path when clicking on the ok button.
i have written handler for ok button and it is working fine.
Now, i need to get the component path.
Any help?
Thanks,
Vikram.
Hi Vikram,
talking of extjs, I assume you are have a dialog?
I you handler add a an onclick listener to your button.
After clicking the button, use the field to fine the dialog.
From the dialog you can get your component path.
Exemple:
function listnerOnButton(field) {
var dialogPath = field.findParentByType("dialog");
//TODO: split path to remove dialog
}
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.