loicfrering / backbone.datagrid

A powerful component, based on Backbone.View, that displays your Backbone collections in a dynamic datagrid table.
http://loicfrering.github.io/backbone.datagrid/
MIT License
55 stars 14 forks source link

A tbody inside a cell breaks an assumption in Table #31

Closed smiple closed 10 years ago

smiple commented 10 years ago

The use of this.$("tbody") in Table.renderRow prevents nesting datagrids (they end up humerously out of shape). I changed to keep a private field this.$tbody in initialize to get round the problem.

loicfrering commented 10 years ago

Hi @smiple, I just pushed a fix: let me know if it resolves your issue.

Thanks for reporting!

smiple commented 10 years ago

Yup thanks :) It's verbatim what I've got, sorry I'm too newb to have sent a pull request.

Cheers