0 votes
1.1k views
in Coach Views by (16.3k points)

1 Answer

0 votes
by (16.3k points)
selected by
 
Best answer

Bootstrap Treeview using Jquery is a js library the following control has been built using that, it expects a JSON in a certain format 

var myTree = [
    {
      text: "Item 1",
      nodes: [
        {
          text: "Item 1-1",
          nodes: [
            {
              text: "Item 1-1-1"
            },
            {
              text: "Item 1-1-2"
            }
          ]
        },
        {
          text: "Item 1-2"
        }
      ]
    },
    {
      text: "Item 2"
    },
    {
      text: "Item 3"
    }
    ...
];
There are configuration options like fontSize, fontColor, backgroundColor, width, initially Expanded to Level, on selection it has a event handler defined and also a config option is updated with the selected row text so that you can do necessary processing after that e.g. firing a boundary event or other actions.

It is now part of Dosvak UI Toolkit and latest version can be downloaded from Dosvak Gitlab

Related questions

0 votes
1 answer 1.2k views
0 votes
1 answer 1.4k views
+1 vote
0 answers 661 views
0 votes
1 answer 664 views
0 votes
0 answers 584 views
0 votes
1 answer 553 views
0 votes
0 answers 315 views
0 votes
0 answers 744 views
+1 vote
0 answers 1.3k views

635 questions

495 answers

98 comments

2.9k users

Join BPM Community Discord Channel

Welcome to BPM Tips Q&A, Community wiki/forum where you can ask questions and receive answers from other IBM BPM experts and members of the community. Users with 2000 points will automatically be promoted to expert level.
Created by Dosvak LLC
Our Youtube Channel
...