I’ve created a UI Only field called “Running Balance”. Works great except that I have to save the model on page load as the custom field updates the rows in order to display the values.
I’d like the option to exclude the field from registering as a model change.
^^^ experiencing this as an issue once again. bump for votes. ^^^
Would that I had another 10 votes for this!
Stumbled upon this work around. If possible, set the UI field to read only. I’m using js to set a running balance ui only field.
Another situation where this is coming up. Working on another workaround using CSS.
Well #$%. That’s a very simple work around. Why didn’t I think of that.
I’m running this jQuery along with rendering the table. This re-enables filters/search, but when they are used, I get the unsaved changes error:
Uncaught Model 'Products' has unsaved changes. To update this model's data, you must first save or cancel the changes.
I’m only updating UI only fields. Have you been able to filter or search after modifying UI only fields without saving the model?
I’m having the same issues but not sure how to implement the solution above. Can anyone explain for a non-coder?