Hi,
I need text of all selected nodes in the Treeview (Checked) in an array.
I can traverse through the selected nodes but not able to read text. text property not working
$("#treeview .k-item input[type=checkbox]:checked").closest(".k-item").each(function () {
// change whatever you want, for example:
**alert($(this).data.text);**
$(this).css("color", "green");
});
Thank You.
Best Regards.
I need text of all selected nodes in the Treeview (Checked) in an array.
I can traverse through the selected nodes but not able to read text. text property not working
$("#treeview .k-item input[type=checkbox]:checked").closest(".k-item").each(function () {
// change whatever you want, for example:
**alert($(this).data.text);**
$(this).css("color", "green");
});
Thank You.
Best Regards.