Questions tagged [jstree-search]

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.

39 questions
2
votes
0 answers

jstree lazy load specific nodes and select those

I have a jstree where only root nodes are loaded and children are loaded as the root is expanded. Now I have list of Ids of nodes to be selected but those nodes are not loaded yet. I want to lazy load & then check those specific nodes. One…
Faisal Ghaffar
  • 181
  • 2
  • 12
2
votes
2 answers

jsTree search plugin and special chars

I have nodes with special chars like ą š ų ū and if I search for uxx it will NOT return ūxx or ųxxx, search plugn match exact match, how to change that? Current code snippet for searching: $('#tree_search').keyup(function(){ if(to) {…
RomkaLTU
  • 3,683
  • 8
  • 40
  • 63
2
votes
1 answer

In jsTree plugin how can we search nodes by node id instead of node name?

The default search plugin in JSTree is search through node name pattern matching, Can we be able to search through nodes ID rather than nodes name ?
2
votes
1 answer

jsTree context menu not showing with position of Relative in CSS

Any idea why having the attribute position: relative; in the CSS of my parent div prevent the context menu of the jsTree from showing. I finally discovered why my context menu in jsTree 3.2 was not showing and its because of this attribute. Full…
james Makinde
  • 943
  • 3
  • 17
  • 36
2
votes
1 answer

jstree-grid issue when attempting to show only matches

I'm using jstree, the built-in search plugin, and jstree-grid plugin. What I'm trying to do is use the show_only_matches option for the search so only matching nodes are shown, the rest are hidden. This is where my issue comes in. I'm using the…
jrut127
  • 55
  • 8
2
votes
0 answers

Jstree search has an error?

I am trying to add search function to jstree but give me an error: undefined is not a function $('#tree_').jstree({ 'core': { 'check_callback': true, "themes": { "responsive": false …
1
vote
1 answer

jsTree ajax parameter not even sending requests

I am copying everything from the docs of jsTree section about mySQL and php. I've got no clue what could be wrong, I delibratly have changed nothing from the example given, to make sure it is not my fault and still, nothing. I know that it should…
1
vote
2 answers

How to know if all checkbox of jstree is checked or not

I am using jstree with checkbox. I have another checkbox with Id chkSelectAll (Select All). When user select it, All jstree checkboxes are checked and if we unselect it, all jstree checkboex are unchecked using below code: …
Hitesh
  • 1,188
  • 5
  • 30
  • 52
1
vote
1 answer

Angular jstree search plugin

In my current project I use ngjstree. How can I attach a to jstree in Angularjs to have a live search? view
controller $scope.treeConfig = { …
Morteza QorbanAlizade
  • 1,520
  • 2
  • 19
  • 35
1
vote
2 answers

Fetching selected checkboxes from jstree

I have a jstree with check boxes. When I select a node and click on button then I am geting the name of that node. But now I would like to allow multiple selection so that I have assigned check box to jstree each elements. No how can I get the…
Mr x
  • 828
  • 1
  • 8
  • 25
1
vote
1 answer

JStree Async Search

Whe are busy building a web based app. And we inherited the code where the previous developers used jstree so now the whole site consist out of a tree that uses jstree. Everything worked even the search on the tree, but then we came across a problem…
WvdW
  • 19
  • 8
1
vote
1 answer

jsTree search textbox does not appear

I am using jsTree (http://www.jstree.com/plugins/) with below plugins "plugins" : [ "dnd" , "contextmenu" ,"ui" , "types" , "search" ,"sort" ] All plugins are working fine except search.There is no search textbox added above tree to search…
A_____
  • 364
  • 3
  • 19
1
vote
1 answer

filter filtered list with multiple words

I using the Jstree Plugin I have a doubt, I wonder if it is possible to filter by multiple words as follows: With the following structure: Root node One Child Node node 1 node 2 node 3 Two Child Node node 4 …
1
vote
0 answers

jsTree : Unresponsive while searching for large tree

I'm using jsTree V3.0.0. I've jsTree with 31000 nodes. When I make a search which have result of 500 nodes, my jsTree takes very long time to load. Even sometimes it crashes my browser. Please give any suggestion how to handle larger trees.
Sarvesh
  • 73
  • 5
0
votes
1 answer

JStree Search doesn't show up

My HTML has the scripts for jstree.search.js as well as jstree.js and I call jstree() like this: tree = $('.jstree').jstree({ core: { "check_callback" : true, "themes" : { "stripes" : true }, }, "plugins" : [ …
alex
  • 576
  • 4
  • 25