This is regarding the jsTree jQuery plugin. I've been struggling with this for a while now only to realise it's not (natively) possible to do, so I thought about the following solution to my problem below (which doesn't work).  I have a t...
I want to retrieve the parent of the child node without clicking on the tree..  data.inst._get_parent(data.rslt.obj).attr("id");   Above command give me the immediate parent when we click on the child nodes.  Is there a way to get the parent...
I have this structure in json I can not be modified by request.  {         "Object": [             {                 "url": "http://www.google.com"             }                     ],         "id": 1,         "nam...
I have a div which I would like to fill with a jsTree:  I get the "Loading" icon where the tree is meant to display, however, there would seem to be a javascript error, even though one is not thrown.  I load my folder structure from an AJAX R...
Just curious to know if there is any way in JSTREE to disable checkbox?  I basically need to disable(not deselect) all my selected child nodes when I click on the parent node....
I have a jstree as shown below:  $('#FolderTree').jstree({             'core': {                 'data': [                             {                                 'text': 'Claim key',...
I have this code using jstree plugin.  $(".gems-tree").on('changed.jstree' , function( event , data ){   console.log("folder clicked"); });   And it works, but now i want to change the icon from the folder to close to open, is...
I want to get all leaf-nodes(ID & text of node) from jsTree ?  I am not using checkbox ui : jsTree.     Root       -----A            -----A1                   -----A1.1             -----A2                   -----A2.1        -----B             ---...
Is there a way to have custom markup or add additional html elements to some of the nodes.  For example, we want to add an arrow (link) right after the node text for all the nodes under a path, and when user click on the arrow, open the context menu....
I make a demo of tree view using jstree .I am able to move next and previous element selectable. Ecample Click "b"  now it is selectable and then press next and previous it it move active class. Can we go one level up using "one level up...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.