I have an observableArray of records which I bind using a template binding. This works fine. As I want to keep track of the changes of each of the records, the observableArray consists of observables. This works, too.
What I now want is to convert some of the properties of each record (i.e. of each observable) to a different type.
How should I proceed?
Usually, I could use a computed, but in this case I can not add a single computed observable to the array, as I need multiple of them.
So how do I solve this?
Here is a solution using a view model wrapping each item of the observableArray. And this view model can then contain a computed property.