Hi to all... I wanto do transform an extjs 2 project into adobe Air.
I've a problem with the editor... when I click into a filed do't appear the "editor mode" to insert/modify the text...

Thanks a lot and goo easter!

Here the code of js:

Code:
var PresidentsDataStore;
var PresidentsColumnModel;
var PresidentListingEditorGrid;
var PresidentListingWindow;

Ext.onReady(function(){

  Ext.QuickTips.init();

  function saveThePresident(oGrid_event){
   Ext.Ajax.request({   
      waitMsg: 'Please wait...',
      url: 'http://localhost/giogolirossi/database_footer.php',
      params: {
         task: "UPDATEPRES",
         id: oGrid_event.record.data.id,
         descrizione: oGrid_event.record.data.descrizione,
         traduzione_inglese: oGrid_event.record.data.traduzione_inglese,
         portata1: oGrid_event.record.data.portata1
      }, 
      success: function(response){                            
         var result=eval(response.responseText);
         switch(result){
         case 1:
            PresidentsDataStore.commitChanges();
            PresidentsDataStore.reload();
            break;                    
         default:
            Ext.MessageBox.alert('Uh uh...','We couldn\'t save him...');
            break;
         }
      },
      failure: function(response){
         var result=response.responseText;
         Ext.MessageBox.alert('error','could not connect to the database. retry later');        
      }                                        
   });   
  }
  
  PresidentsDataStore = new Ext.data.Store({
      id: 'PresidentsDataStore',
      proxy: new Ext.data.HttpProxy({
                url: 'http://localhost/giogolirossi/database_footer.php', 
                method: 'POST'
            }),
            baseParams:{task: "LISTING"}, // this parameter is passed for any HTTP request
      reader: new Ext.data.JsonReader({
        root: 'results',
        id: 'id'
      },[ 
        {name: 'id', type: 'string', mapping: 'id'},
        {name: 'descrizione', type: 'string', mapping: 'descrizione'},
        {name: 'traduzione_inglese', type: 'string', mapping: 'traduzione_inglese'},
        {name: 'portata1', type: 'string', mapping: 'portata1'}
      ]),
      sortInfo:{field: 'id', direction: "ASC"}
    });
    
  PresidentsColumnModel = new Ext.grid.ColumnModel(
    [{
        header: 'id',
        readOnly: true,
        dataIndex: 'id',
        width: 40,
        hidden: true
      },{
        header: 'portata1',
        dataIndex: 'portata1',
        width: 120,
        readOnly: true
      },{
        header: 'descrizione',
        dataIndex: 'descrizione',
        width: 280,
        editor: new Ext.form.TextArea({
            allowBlank: false,
            maxLength: 255,
            maskRe: /([a-zA-Z0-9\s]+)$/
          })
      },{
        header: 'traduzione_inglese',
        dataIndex: 'traduzione_inglese',
        width: 280,
        editor: new Ext.form.TextArea({
          allowBlank: true,
          maxLength: 255,
            maskRe: /([a-zA-Z0-9\s]+)$/
          })
      }]
    );
    PresidentsColumnModel.defaultSortable= true;
    
  PresidentListingEditorGrid =  new Ext.grid.EditorGridPanel({
      id: 'PresidentListingEditorGrid',
      store: PresidentsDataStore,
      cm: PresidentsColumnModel,
      enableColLock:false,
      clicksToEdit:1,
      selModel: new Ext.grid.RowSelectionModel({singleSelect:false})
    });
    
  PresidentListingWindow = new Ext.Window({
      id: 'PresidentListingWindow',
      title: 'Gestione dei footer',
      closable:false,
      width:700,
      height:350,
      plain:false,
      draggable: false,
      layout: 'fit',
      items: PresidentListingEditorGrid
    });
  
  PresidentsDataStore.load();
  PresidentListingWindow.show();
  
  PresidentListingEditorGrid.on('afteredit', saveThePresident);
  
});