[Solved] Nested knockout template binding
I think you can do this like that: function Question(id, name) { this.id = id; this.name = name; this.answers = ko.observableArray(); } function Answer(id, name) { this.id = id; this.name = name; } function ViewModel() { this.questions = ko.observableArray(); var self = this; //dummy data self.init = function () { var q1 = new Question(1, … Read more