ui only field change to not register as model changes

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.

YES!

Sounds reasonable. 

^^^ experiencing this as an issue once again. bump for votes. ^^^

^^^ and again ^^^

Would that I had another 10 votes for this!

I shall vote with ye

Stumbled upon this work around. If possible, set the UI field to read only. :wink: 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.

I’ve started running this line of jQuery after pageload or the javascript that changes the fields:

<br>$('.nx-modified').removeClass('nx-modified');

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?

Thanks Matt, great idea!

I’m having the same issues but not sure how to implement the solution above.  Can anyone explain for a non-coder?