Hello, i have recently started to use the new grids and i have a problem i cant resolve.
I want to update the data in the cjgrid when I exit a cjgridcolumn, so i have this procedure in the cjgrid
Code:
Procedure actualizarValores
                Handle hoDataSource
                tDataSourceRow[] detalleInforme
                
                Get phoDataSource to hoDataSource
                Get DataSource of hoDataSource to detalleInforme
                
                Integer iCantidad
                Integer i
                Number nPrecio
                
                For i from 0 to ((SizeOfArray(detalleInforme))-1)
                    Move (detalleInforme[i].sValue[piColumnId(oCJGridColumnCantidad)]) to iCantidad
                    Move (detalleInforme[i].sValue[piColumnId(oCJGridColumnPrecio)])   to nPrecio
                    Move (iCantidad * nPrecio)  to detalleInforme[i].sValue[piColumnId(oCJGridColumnSubtotal)]
                   
                Loop
                
                Send InitializeData detalleInforme
                Send MovetoFirstRow
            End_Procedure

When i send this procedure from a button ,outside the cdgrid, it works perfectly, but when i send this procedure from the "OnExiting" event in the cjgridcolumn, an ACCESS_VIOLATION error appears.
Code:
Function OnExiting Returns Boolean
                    Boolean bRetVal
                    Forward Get OnExiting to bRetVal    
                     Send actualizarValores  
                    Function_Return bRetVal
                End_Function

I also tried sending the procedure from the OnExit event.


What could be the problem?
Thanks


PS: Sorry for my english