Create checked list dropdown with groups - knockoutjs

please look at this example of drop down checkbox list im working on..

http://jsfiddle.net/Yojik/VJHVK/143/

the problem is that im loosing the observable power by unmapping the object

what is the "knockout way" to solve this issue ?

Answers


That is definitely not the knockout way of doing things - you're fighting with knockout the whole way, which is only going to cause pain.

Here's a simple example showing how to use the mapping plugin with the click event being handled by jQuery:

http://jsfiddle.net/tlarson/VJHVK/173/

And here is a more complex example with the click event handled by knockout bindings:

http://jsfiddle.net/tlarson/VJHVK/172/


Need Your Help

Establishing connection with SQL Server 2008

c# asp.net sql-server-2008

This is a very elementary I realize, I have recently started working with asp.net and establishing a connection with an Access database was simple enough...