I have a Gird which has a number of editable fields as well as some standardized auditing fields (LastUpdatedBy, LastUpdatedOn).
The later are intended to be read only. So they are marked as Editable(false)
model.Field(a => a.LastModifiedBy).Editable(false);
model.Field(a => a.LastModifiedOn).Editable(false);
For the inline edit I am doing an Ajax call to controller action which processes the edit, updates the modified fields and passes the updated record back to the grid. The grid displays the editable changes however I assume because they are non-editable the modified fields are not updated. Doing a refresh of the page displays correct information but that is not desirable.
How can the behavior of Grid be override so that it will update the display of all model fields even the ones marked non-editable after an update?