0 votes
18 views
in Coach Views by (11.7k points)

1 Answer

0 votes
by (11.7k 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 230 views
+1 vote
0 answers 42 views
0 votes
1 answer 82 views
0 votes
0 answers 61 views
0 votes
0 answers 23 views
0 votes
0 answers 33 views
0 votes
0 answers 273 views
0 votes
0 answers 18 views
0 votes
1 answer 58 views

515 questions

423 answers

81 comments

1.6k users

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