Jul 20, 2014, 4:04 PM
[CLOSED] Add event to tab from client side code
I add tabs to tabpanel with bellow code
var AddTab = function (tabPanel, URL,TITLE) {
var tab = tabPanel.add({
title: TITLE,
closable: true,
loader: {
url:URL,
renderer: "frame",
loadMask: {
showMask: true,
//msg: "Loading " + record.data.text + "..."
}
},
autoScroll: false,
border: false,
height:600
});
tabPanel.setActiveTab(tab);
};
how I declare close and active event for this tab in this script?
Last edited by Daniil; Jul 25, 2014 at 2:01 PM.
Reason: [CLOSED]