I have a situation where I need to retrieve some data from my server, and then populate my view model with it. However when I do that, the bindings get overwritten. So I have a function to re-wire the functions and such for all of the various objects, and this seems to work fine; Except for this one situation where a sub-array of a top level property has an onCreate
The best I can see, when I start the page, the onCreate
function has a property called "guid
'. When I use the set
function to apply the server side data to the array, that property is taken away, and I cannot seem to get it back. So the Click event fails with an error.
I have a jsBin sample here;