Hi rush_pawan,
I have three tabs dynamically created with the help of ur your suggestion given above. It works fine.
I have another requirement. If i select one tab amongt the three, there is a drop down list with values and a multifield(textbox). If select a particular value in drop down list the multifield should be diasbled.
It works well for a dialog of xtype dialog.
function(box,value){var ans = box.findParentByType("dialog").form.findField("anstext"); disableAnsText(ans,value);}
function disableAnsText(ans,value)
{
if(value == "date") {
alert("anstype value - "+value);
ans.setDisabled(true);
}
}
Now i have 3 tabs in a dialog of xtype tabpanel. How can i achieve the same with the tabpanel.
Thanks. It would be of great help if i get an answer for this.