Updated Fiddle: http://jsfiddle.net/UXbnz/5/
Use ko.mapping.fromJS(FrimServer, {}, this.trades); to update your observableArray with the new data from the server.
I've also taken the liberty to clean up your fiddle a bit.
- Use
var self = this is common practice when defining your ViewModel in JavaScript. This to avoid problems with closure and scope.
- Replaced
<label> elements with <span> elements. <label> is meant specifically for assigning labels to input elements.
- Moved references to Knockout files to Managed Resources. This is the appropriate way to reference external libraries in a jsFiddle
- Added some styling and extra elements for clarity.
- Expanded data and displaying of data to showcase possible scenario's.