4 Answers, 1 is accepted
0
Hi,
While there is no API method for doing this, you can achieve the same using jQuery. For example:
Regards,
Alexander Popov
Telerik
While there is no API method for doing this, you can achieve the same using jQuery. For example:
$(
"#treeview .k-checkbox input"
).prop(
"checked"
,
false
).trigger(
"change"
);
Regards,
Alexander Popov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
0
Hi marco,
It appears that the jQuery selector shown below is not correct, therefore no checkboxes are being affected by the prop method. The following works as expected on our demo page:
Regards,
Alexander Popov
Telerik by Progress
It appears that the jQuery selector shown below is not correct, therefore no checkboxes are being affected by the prop method. The following works as expected on our demo page:
$(
"#treeview input.k-checkbox"
).prop(
"checked"
,
false
).trigger(
"change"
);
Regards,
Alexander Popov
Telerik by Progress
Build rich, delightful, *native* Angular 2 apps with Kendo UI for Angular 2. Try it out today! Kendo UI for Angular 2 (currently in beta) is a jQuery-free toolset, written in TypeScript, designed from the ground up to offer true, native Angular 2 components.
0
John
Top achievements
Rank 1
answered on 30 Nov 2016, 08:46 PM
I did have what the first selector Alexander posted which worked for me until I installed version 2016.3.1118. Here is what I ended up with that is working.
$("#treeview .k-checkbox-wrapper input").prop("checked", false).trigger("change");