
Have a look on the snap shot
in which i have select a bank and by clicking of respective row button(Branch)
all the branches of the selected bank is showing in dialog grid
where i can do CRUD operation for branches.
My issue is that i want to set bank code by default when adding new branch.
using below code---
function actionComplete_Branch(args) {
debugger;
if (args.requestType === 'add') {
//debugger;
//alert(args.requestType);
args.form.elements.namedItem('BNK_CD').value = "Branch";
}
}
instead of the keyword (Branch) i want show the selected row bank code here.
please help me out to do this.