Although I donβt know the exact reason for the hands, there are some funny things in your setup that make me think this might be part of the problem.
. , , . , , . , , , , , , .
HTML?
<tbody>, , <th>, , , .
HTML, :
<table>
<tbody>
<th></th>
</tbody>
</table>
, #plansRow, , - .
, . , , , , , . , .
, CompositeView, CollectionView, .
Marionette CompositeView tr. :
RowView = Backbone.Marionette.ItemView.extend({
template: "#row-template",
tagName: "tr"
});
TableView = Backbone.Marionette.CompositeView.extend({
template: "#table-template",
tagName: "table",
appendHtml: function(cv, iv){
cv.$("tbody").append(iv.el);
}
});
a <table> . <thead><th>...</th></thead><tbody></tbody> .
<tr> , <td>.
appendHtml <tbody> .
JSFiddle: http://jsfiddle.net/derickbailey/me4NK/
, CompositeView, : http://lostechies.com/derickbailey/2012/04/05/composite-views-tree-structures-tables-and-more/