How can you utilise JSON Data to implement the Tree View


Topic: How can you utilise JSON Data to implement the Tree View

amaze interactive pro asked 8 months ago

Expected behavior
To gain interaction and display of a treeview via json data from ASP.Net MVC Entity Framework. Viewed Here https://www.jqueryscript.net/other/Dynamic-Tree-View-Plugin-jQuery-Bootstrap.html

Actual behavior
There Seems to be no display of such information

Resources (screenshots, code snippets etc.)

  var myTree = [
02
    {
03
      text: "Item 1",
04
      nodes: [
05
        {
06
          text: "Item 1-1",
07
          nodes: [
08
            {
09
              text: "Item 1-1-1"
10
            },
11
            {
12
              text: "Item 1-1-2"
13
            }
14
          ]
15
        },
16
        {
17
          text: "Item 1-2"
18
        }
19
      ]
20
    },
21
    {
22
      text: "Item 2"
23
    },
24
    {
25
      text: "Item 3"
26
    }
27
    ...
28
];

Grzegorz BujaƄski staff answered 8 months ago

Hi. It's looks good. In fact, this is currently not available in the tree view. I'm add this to our TODO list


Please insert min. 20 characters.
Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: jQuery
  • MDB Version: 4.10.0
  • Device: Any
  • Browser: Any
  • OS: Windows, Linux, or MacBook
  • Provided sample code: No
  • Provided link: Yes