1. #1
    Sencha Premium Member khebrela's Avatar
    Join Date
    Jun 2011
    Location
    Tbilisi, Georgia
    Posts
    18
    Vote Rating
    0
    khebrela is on a distinguished road

      0  

    Default Enabling and activating tab

    Enabling and activating tab


    Hi ,

    I know it sounds newbie

    i want to enable and then activate tab from handler


    HANDLER

    Code:
       handler: function (grid, rowIndex, colIndex){
     
         var rec = fordata.getAt(rowIndex);     
     
          Ext.getCmp('distab').enable();
     
          I NEED CODE TO BE WRITTEN HERE (I GUESS :D)
     
     
         }


    TAB

    Code:
     
    {
       items: updateform,
       title: 'UPDATE DATA',
       disabled: true,
       id: 'distab',
       name: 'distab'
            }

    THX

  2. #2
    Ext JS Premium Member
    Join Date
    Apr 2011
    Location
    Dallas, TX
    Posts
    204
    Vote Rating
    2
    Justin Noel is on a distinguished road

      0  

  3. #3
    Sencha Premium Member khebrela's Avatar
    Join Date
    Jun 2011
    Location
    Tbilisi, Georgia
    Posts
    18
    Vote Rating
    0
    khebrela is on a distinguished road

      0  

    Default


    thx

Thread Participants: 1

Tags for this Thread