• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to use jstree in the PProPanel??

New Here ,
May 03, 2022 May 03, 2022

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.

TOPICS
SDK

Views

144

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , May 04, 2022 May 04, 2022

Sorry, we have no information on JSTree usage. 

[Also, we're not sure why you're using a very obsolete version of PPro...?]


Votes

Translate

Translate
Adobe Employee ,
May 04, 2022 May 04, 2022

Copy link to clipboard

Copied

LATEST

Sorry, we have no information on JSTree usage. 

[Also, we're not sure why you're using a very obsolete version of PPro...?]


Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines