Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Update ListGridRecord values from JavaScriptObject

    Hi, I'm trying to update values of a ListGridRecord from a JavaScriptObject

    Code:
    record.setJsObj(myJSO);
    myGrid.refreshRow(recordIndex);
    but the Grid doesn't refresh the field values. Do I need to call something else?

    If I manually update the fields from JSO properties it works fine

    Code:
    record.setAttribute("status",myJSO.getStatus());
    record.setAttribute("description",myJSO.getDescription());
    ...
    myGrid.refreshRow(recordIndex);
Working...
X