0 votes
887 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.0k views
0 votes
1 answer 959 views
+1 vote
0 answers 584 views
0 votes
1 answer 513 views
0 votes
0 answers 490 views
0 votes
1 answer 432 views
0 votes
0 answers 252 views
0 votes
0 answers 606 views
+1 vote
0 answers 1.2k views

634 questions

495 answers

97 comments

2.7k 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
...