I have a datagrid and a form below (it's based on a view, so I assume I can't update through the view object). I update the data fine through a server call, however I can't the datagrid to reflect the update. Therefore, if I change the row and return to the updated row, the change isn't reflected. However, if I refresh the datagrid the chnages show. I thought the below code would work, (Exexute c#) but it doesn't. Could you please help (code goes through successful route):
var rowId = ${ProductRowId};
SasCms.Models.SasFresh.CmsVwColour curr = ${getCmsVwColoursResult.FirstOrDefault(c => c.col_Id == rowId)};
Console.WriteLine("RowId: " + rowId);
if (curr != null) {
Console.WriteLine("Success: " + ${isBrokenFront});
curr.col_isBrokenFront = ${isBrokenFront};
curr.col_isBrokenAngle = ${isBrokenAngle};
curr.col_isBrokenOpen = ${isBrokenOpen};
}