onedit dont update row when field is date (calendar)

Hi,

I have a problem.

In my grid select a row and modify fields, when make change in various cell (e.g 3 ) and click update button is correct. Then when modify only one field type dhtmlxcalendar and click update button dont update nothing.

I use this code:

function ConfirmarTransaccion(rowID,celInd){
if ( IdRowOri != rowID ) {
if ( IdRowOri != 0 ) {
IdChange = mygrid.getChangedRows();
if ( IdChange.length != 0 ) {
if ( confirm ( "Ha realizado cambios, desea actualizar " ) ) {
mygrid.editStop();
myDataProcessor.sendData();
//alert ( “Registros Actualizados” );
mygrid.clearChangedState();
} else {
mygrid.doUndo();
mygrid.clearChangedState();
}
}
}
IdRowOri = rowID;
ncol = mygrid.getColumnCount();

            mygrid.forEachCell(rowID,function(c){
                data.push(c.getValue());
            });
    
            for (i=0; i<ncol; i++) {
            name.push ( "VA_" + mygrid.getColumnId(i) ); 
            } 
    
            for (i=0; i<ncol; i++) {
            mygrid.setUserData(rowID,name[i],data[i]);
            }    
    
         }  

}

In my file xml include array for old data because I need in my query for update (in where).

I debug and value in field type date put
new value is correct but old value put 2010-02-21

then dont find record with olddate because put tag html.

How solution this?

Thanks,
Regards.