Groups
Groups
Sign in
Groups
Groups
KnockoutJS
Conversations
About
Send feedback
Help
How to create dynamically checkbox with knockout and kendo UI?
198 views
Skip to first unread message
Federico Croletti
unread,
Apr 7, 2017, 3:47:51 AM
4/7/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to KnockoutJS
It makes checkable only the first element
I would like to click all the checkboxes also checking which I clicked
<div id="doc" data-bind="foreach: list">
<input type="checkbox" id="field" class="k-checkbox">
<label class="k-checkbox-label" for="field" data-bind="checked: myFunction,text:
elem.name
" checked></label>
</div>
Michael Best
unread,
Apr 10, 2017, 2:53:39 PM
4/10/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to KnockoutJS
The checked binding needs to be on the <input> element, not the <label>
Reply all
Reply to author
Forward
0 new messages