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 ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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/