Template that spans multiple rows
http://stackoverflow.com/questions/28897884/template-that-spans-multiple-rows
by Jorgelig
HTML
<script src="http://knockoutjs.com/downloads/knockout-2.0.0.debug.js"></script>
<table>
<tbody data-bind="foreach: entries">
<tr>
<td> <span data-bind="text: name"></span>
</td>
</tr>
</tbody>
</table>
JavaScript
var ViewModel = function () {
var self = this;
self.entries = [{
name: "one",
type: 'file'
}, {
name: "two",
type: 'folder'
}, {
name: "three",
type: 'file'
}];
};
ko.applyBindings(new ViewModel());