Copy link to clipboard
Copied
I'm going to draw a tree control using jtree on the PProPanel.
The jstree method of adding data in the "html" method works.
However, when I try to put data in Json, I keep getting refreshed when I run the panel.
Below is the sample code.
$('#jstree').jstree({
'core': {
'data': [{
"id": "ajson1",
"parent": "#",
"text": "treenode1"
}, {"id": "ajson2", "parent": "#", "text": "treenode2"}, {
"id": "ajson3",
"parent": "ajson2",
"text": "child1"
}, {"id": "ajson4", "parent": "ajson2", "text": "child2"},]
}
});
Is there a solution to this refresh phenomenon?
For your information, Premiere running environment O/S is Windows 10
The Premiere version is 2019.
Copy link to clipboard
Copied
Sorry, we have no information on JSTree usage.
[Also, we're not sure why you're using a very obsolete version of PPro...?]