[CLOSED] equivalent ext js 3.4 tab (in TabChange listener of tabpanel context ) in ext js 4.2 ?

  1. #1

    [CLOSED] equivalent ext js 3.4 tab (in TabChange listener of tabpanel context ) in ext js 4.2 ?

    Hi,
    I have this code wroten in Ext.Net. v1.6
    <ext:TabPanel ID="tPanel" AutoHeight="True" runat="server" Height="40" Border="false" Hidden="True" ActiveIndex="0" >
                        <Listeners>
                            <TabChange Handler="if(tab.items.getCount()>0) { return false; } else { Ext.net.Mask.show({ msg : 'Loading list...', el : tab }); #{DirectMethods}.AddTab(tab.id); }"></TabChange>
                        </Listeners>
                    </ext:TabPanel>
    what is equivalent of this in ext js 4.2 or Ext.Net v2.2?

    Thanks,
    ViDom
    Last edited by Daniil; May 16, 2013 at 4:07 PM. Reason: [CLOSED]
  2. #2
    Hello,

    You can check Listener Arguments at the following location:

    https://examples2.ext.net/#/Events/Listeners/Arguments/

    Looks like the function signature is as follows:

    function ( item, newTab, oldTab )
    Hope this helps.
    Geoffrey McGill
    Founder
  3. #3
    Quote Originally Posted by geoffrey.mcgill View Post
    Hello,

    You can check Listener Arguments at the following location:

    https://examples2.ext.net/#/Events/Listeners/Arguments/

    Looks like the function signature is as follows:

    function ( item, newTab, oldTab )
    Hope this helps.
    Thanks @geoffrey that's exactly what I asking for;) thread can be closed.

Similar Threads

  1. Replies: 1
    Last Post: Jan 12, 2013, 4:30 AM
  2. [CLOSED] BodyStyle equivalent in CSS
    By cwolcott in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Dec 19, 2012, 1:32 AM
  3. [CLOSED] Equivalent for css class in ie8-9
    By ViDom in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Dec 05, 2012, 1:33 PM
  4. [CLOSED] Equivalent of savemask in ext.net 2.1
    By Daly_AF in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Nov 07, 2012, 12:52 PM
  5. [CLOSED] 'div' equivalent in ext.net?
    By rnachman in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Sep 06, 2011, 6:03 PM

Tags for this Thread

Posting Permissions