Shyam Shinde
Shyam Shinde

Reputation: 299

Jstree - uncheck checkbox using node id

I am using Jstree with checkox theme in my project and I want uncheck the particualar node using the node id on button click event.

I have searched for this on google but not getting any any solution.

Does any one knows how to do this?

Upvotes: 1

Views: 3735

Answers (2)

Shyam Shinde
Shyam Shinde

Reputation: 299

uncheck_node method is used for unchecking the checkbox

Upvotes: 0

Kishore Gorle
Kishore Gorle

Reputation: 31

below code to uncheck selected tree node from Js tree. please try this code

$("#tree").jstree("uncheck_node", id of Node to uncheck);

Upvotes: 3

Related Questions