A plugin for the popular jQuery plugin jsTree, Search allows both client side highlighting of active nodes and AJAX communication with a server side script to expand the current tree.
Questions tagged [jstree-search]
39 questions
0
votes
1 answer
Show only matched node(s) in jsTree
I have a common code based on class selector for jsTree plugin. I used jsTree in another cshtml page. I want to display only matched node from search in jsTree. I already set the option to show only matched nodes but it is not working.
Can any one…
user11469175
0
votes
1 answer
Using Checkbox, When all child nodes are deleted, parent node also getting deleted in JStree
If CheckBox Plugin is used and all child nodes were deleted, the parent node is also getting deleted.
$('#jstree').jstree({
"core" : {
"check_callback" : true,
"data" : [
{ "text" : "Branch 1", "type" : "branch", "children" : [
…

G.Brown
- 369
- 3
- 16
0
votes
1 answer
JsTree with custom xml or json structure
I have an XML structure that look like this:
MainFeature
Feature1
Feature1_1
…

Grégory
- 1
0
votes
0 answers
JSTree events not firing
I am using jsTree 1.0-rc1 with JQuery 1.12.4.
I am trying to fire events such as: create.jstree, open_node.jstree, and __loaded.jstree but non of it is firing.
I used both 'bind' and 'on' to hook the events to the Jstree but non of it worked.
I did…

t_plusplus
- 4,079
- 5
- 45
- 60
0
votes
1 answer
jstree expands for very short time and then collapses the tree on page refresh
I am using jstree in my project. when my page gets loaded, the entire tree expands for very short time and then collapses back to its original position. can someone please tell me how can i stop the tree from expanding on page load?

raj
- 117
- 1
- 1
- 5
0
votes
1 answer
How to loop over all the nodes of a jstree
I am unable to figure out how I can loop over all the nodes of a jstree.
What I am looking for is that for the jstree jstree1. I want to loop over all of its children and sub-children and print/get the id of each leaf.
Thanks.

Kamran
- 4,010
- 14
- 60
- 112
0
votes
2 answers
expand and collapse icon in jQuery tree view is not shown in tree
I designed jQuery tree view using this web page. I changed this code little bit more.I removed the content of ' div class="tree" ' and add its content as follows.
-
Desi Delite
- 191
- 1
- 2
- 15
0
votes
1 answer
Webmethod is not fired by jsTree
I m trying to call web method from jsTree but unable to call it. can someone please help me out to get this resolved.
my jsTree function is:-
$('#tree').jstree({
"json_data": {
"ajax": {
"type": "POST",
…
-1
votes
1 answer
To show depth level on each node jstree
I would like to show the maximum depth level on each node (next to the text on each node), right now I have harcoded the data as below,
$('#data').jstree({
'core' : {
'data' : [
{ "text" : "Root node, Depth: 2",
…

Wiki
- 245
- 3
- 13