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

amaze interactive free asked 4 years 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 4 years 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.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.10.0
  • Device: Any
  • Browser: Any
  • OS: Windows, Linux, or MacBook
  • Provided sample code: No
  • Provided link: Yes