This is my first test with Air.

I tried to make a simple grid from sqlite table, all ok but only the first column header cause error on mouseover.

introspector: typeError: Undefined value.

I tried to change the order of columns, make a new grid with other data, but always the first header column on mouseover give me error.



PHP Code:
sms.data.smsStore Ext.extend(Ext.data.Store, {
    
constructor: function(){
        
sms.data.smsStore.superclass.constructor.call(this, {
            
sortInfo: {
                
field'sendDate',
                
direction"DESC"
            
},
            
reader: new Ext.data.JsonReader({
                
id'smsId',
                
fieldssms.data.smsRecord
            
})
        });
        
       
this.conn sms.data.conn;
        
//SQlite nome tabella, nome ID
        
this.proxy = new Ext.sql.Proxy(sms.data.conn'sms''smsId'this);
    },
    
    
addSms: function(phonemessageresult){
        var 
id Ext.uniqueId();
        var 
date = new Date();
        
= new sms.data.smsRecord({
            
smsIdid,
            
sendDatedate,
            
phonephone,
            
messagemessage,
            
resultresult
        
}, id);
        
this.add(l);
        return 
l;
    },
    
init: function(){
        
this.load();
    }
}); 
PHP Code:
Ext.uniqueId = function(){
    var 
String(new Date().getTime()).substr(4);
    var 
'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
    for (var 
04i++) {
        
+= s.charAt(Math.floor(Math.random() * 26));
    }
    return 
t;
}
sms.data.smsRecord Ext.data.Record.create([
    {
name'smsId'type:'string'},
    {
name'sendDate'type:'date'dateFormatExt.sql.Proxy.DATE_FORMATdefaultValue''},
    {
name'phone'type:'string'},
    {
name'message'type:'string'},    
    {
name'result'type:'string'}
]);
sms.data.conn Ext.sql.Connection.getInstance();
sms.data.sms = new sms.data.smsStore(); 

PHP Code:
var smsGrid = new Ext.grid.GridPanel({
    
title'Registro Sms',
    
id'smsG',
       
viewConfig: {
        
forceFittrue
    
},
    
storesms.data.sms,
    
cm: new Ext.grid.ColumnModel([{
        
header'Codice',
        
dataIndex'smsId',
        
hiddentrue
    
}, {
        
header'Data',
        
dataIndex'sendDate',
        
rendererExt.util.Format.dateRenderer('m/d/Y H:i'),
        
sortabletrue
    
}, {
        
header'Cellulare',
        
dataIndex'phone',
        
sortabletrue
    
}, {
        
header'Messaggio',
        
dataIndex'message',
        
sortabletrue
    
}, {
        
header'Esito',
        
dataIndex'result',
        
sortabletrue
    
}]),
    
sm: new Ext.grid.RowSelectionModel({
        
singleSelecttrue
    
})
}); 
Sorry for English.

Thank's in advance.