I\'m attempting to create a new row every two records using knockout virtual elements. My problem is that the odd record does not generate in between the two even indexes.>
You're better off supplying knockout with a multi-dimensional array. This is a much cleaner solution and has less potential for quirky results.
Look at Example 2: Note 3: in the documentation: http://knockoutjs.com/documentation/foreach-binding.html
: