DATATABLE: Altering the value of another column using event - onAfterEditStop

Hi,

I have a editable Datatable. I have a editable column and an non-editable column. Depending on the edited value, I want to change the value of non-editable column. How can I do that using the event onAfterEditStop?

Thanks
Ashok

dt.attachEvent("onAfterEditStop", function(state, editor){
     var obj = this.getItem(editor.row);
     obj.roValue = obj.editValue * 2;
     this.updateItem(obj.id); //repaint and save
})

where roValue and editValue - are names of properties for editable and non-editable columns

Thanks for the speedy reply.

with Regards
Ashok