views:

63

answers:

0

Hi All, i have problems to set a returned value to a declarative dijit.InlineEditBox the most near to a final solution was

 function(field,val,pid)
{
    switch (field) {
    case 1:
        cell_name = "off_"+pid;
        break;
    case 6:
        cell_name = "saleprice_"+pid;
        break;
    default:
        break;
    }
    cell = dojo.byId(cell_name);
    widget = dijit.byId(cell_name);
    alert(val);
    cell.innerHTML = val;
    widget.SetValue(val);
    widget.save();
}

But wen I try to re-edit, it showme the old value not de html new value. Thanks a lot, and sorry my bad English