Oracle Apex interactive Grid set column value

Debrajgh_

    Hi

     

    I have an IG where one column which is a number field is being computed and set with the following code

     

    model.setValue(record,"WEEK_AVG", v_week_avg);

     

    This line of code is working perfectly ok. However, when I click on Save button to submit page, the computed value is not getting saved back to gtable.

     

    What am I missing

     

    Thanks

     

    Deb