ember.js - emberjs - nested tables info -


i have irregular table structure nest (either using actual tables or using div tables). have list of 'parent' classes, each of has many 'children' instances, , want show them in same table, single set of headers. output (simplified - have many more columns display).

<table>   <tr>     <th>parent</th>     <th>child</th>     <th>remove</th>   </tr>   <tr>     <td colspan="2">parent one</td>     <td>child one</td>   </tr>   <tr>     <td>child two</td>   </tr> </table> 

but can't figure out how accomplish in handlebars because of fact need have new <tr> element around every child except first one. easy enough figure out in code, can't see how cleanly in handlebars. possible or should write custom view?


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

c++ - End of file on pipe magic during open -