So I have a scenario where I change a couple of fields on the Opportunity object from a related list: a row action will update the amount of the oppourtunity. I have that working the issue is that the change is not shown in the main field editor. If I go up to the field and click the pen it shows the right value and if I navigate away from it the change displays correctly. How can I trigger the editor to refresh after I have made the change? This is the code I use to change the value:
var params = arguments[0]; var quote = params.item.row; var quotes = params.model; var newAmount = quotes.getFieldValue(quote, 'Grand_Total__c'); var opportunity = skuid.model.getModel('Opportunity'); opportunity.updateRow(opportunity.getFirstRow(), 'Amount', newAmount);