Questions tagged as 'jstree'

1
answer

Mount tree - JSTREE

I was reading about JSTree and saw that it understands a Json that can be placed in the tree without recursion, ie, it needs the default id,parent,text according to documentation . I created a self referenced table called...
asked by 10.12.2014 / 01:34
1
answer

Place checkbox in just two items - JSTREE

I would like to know how I can make the Child 1 and the Child 2 checkbox to be what I can check and uncheck? Note: But only these two we . Code JSFiddle     
asked by 14.04.2015 / 23:10
1
answer

Configuring jsTree for AJAX

I'm using the jsTree plugin, trying to get it to fetch the information by AJAX . On server side I have four tables in the database, each one a level of the tree. Tabela1 -Tabela2 --Tabela3 ---Tabela4 Making the plugin search the firs...
asked by 22.09.2014 / 17:44
1
answer

How To Get Root Selected Jstree

Galera, Good afternoon, A Doubt, I'm using JsTree and I need some help. When I select child nodes: I can get the same through the script: $('#arvore').jstree(true).get_selected(). But I can not get the "Parent" nodes (th...
asked by 05.05.2017 / 19:59
1
answer

jstree create new node does not work

I'm using jstree to create a tree. I'm trying to create a new node, but I'm not getting it. The first node level will already be loaded in html, so only the next level will be added by js. Here is an example: $("#tree").jstree();...
asked by 11.08.2016 / 22:28
0
answers

Jstree Plugin - State undetermined

Hello, If there is anyone knowledgeable about this plugin and can help me, I know that a state key is sent as follows: state: { disabled: false loaded: true opened: false selected: true } So, my...
asked by 12.09.2018 / 21:49
0
answers

Array inside Array - d3.tree data

I'm building an array in the format valid for the d3-tree chart. For this, I have the data in the following format: Data column and data name of the Main Company. Example: Main Company Column-Name 1-Company A 1.1-Company A.a 1.1.1-Company A...
asked by 25.07.2018 / 09:13
0
answers

Logic for access permission and registration of permissions in the database Using JStree and Codeigniter

Hello, I'm trying to develop a logic to register permissões de acessos , using codeigniter and plugin jstree At the beginning to add a new permission, the following table is loaded into the database. CREATE TABLE IF N...
asked by 29.03.2018 / 17:23