extjs - Which event is fired changing the tabpanels tab in extjs4? -
I extjs4 mvc. I am working in I am stuck at a point where I want to handle the event when the tab panel is being turned on the tab. I am using the MVC structure in exts4. I am tried with a change of tab, but when the tab is changed, it is never removed. Please give me some advice on how to handle such a situation ...
Here are some of my codes: - 1) My visual file: ---
Ext.define ('Am.view.center.centerTab', {extension: 'Ext.tab.Panel', id: 'centerTabId', frame: true, flex: 1, nickname: 'widget.CenterTab', minTabWidth: 200, range: 0, style: {border color: 'white', // border style: 'solid'}, items: [{title: 'tab1',}, {title: 'tab2',}, {title: 'tab 3 '}] / end of items}}} // end of login class 2) And here my code is some code: ---
< Code> ------ ' Untab ': {Tab: replace this.tabChaged1}}); // the end of the control}, // the end of the init function tab has changed 1: function () {console.log ("tab changed"); }, My requirement is when the tab is pasted when tabbed event is handled and the special function is called ... Please give me some advice ... < / P>
You have a misspelled name in the function in your controller.
Tabbed Changes: this.tabChaged1 should be tabbed: this.tabChanged1
Comments
Post a Comment