Backbone table view consuming row view - how to structure?
问题 I have a collection of models that I wish to render in a table view. Each model should be represented by a single row in the table, and this row should be generated using a template. I should be able to attach event handlers to that row (say click), that upon event alert some specific information regarding the model associated with that row. A common way I've seen similar things to this done is to break each row out into it's own view, and have a parent view (lets say the table in this case)