tbfleming / jscut

In-browser CAM package
http://jscut.org
GNU General Public License v3.0
295 stars 136 forks source link

Changing html broke databinding? #16

Closed peteruithoven closed 9 years ago

peteruithoven commented 9 years ago

I wanted to improve the style of the operations, but changing the html somehow broke the databinding. My changes: https://github.com/peteruithoven/jscut/commit/f78ad00ad1b414e986942028db478139af7c32d1

What could be wrong?

tbfleming commented 9 years ago

You can't place a div directly in a table.

tbfleming commented 9 years ago

See Note 4 for a workaround at http://knockoutjs.com/documentation/foreach-binding.html

tbfleming commented 9 years ago

Further down the rabbit hole: http://stackoverflow.com/questions/8115896/knockout-js-containerless-foreach-not-working-with-table

peteruithoven commented 9 years ago

Thanks for the tips!