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