tbfleming / jscut

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

Changing html broke databinding? #16

Closed peteruithoven closed 10 years ago

peteruithoven commented 10 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 10 years ago

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

tbfleming commented 10 years ago

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

tbfleming commented 10 years ago

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

peteruithoven commented 10 years ago

Thanks for the tips!