Topic: TreeTable event for new list of items

Maximilian Schulze priority asked 3 years ago


Hello,

i have a question about the TreeTable. So I want a Treetable that when I click on an item it loads the next ul List of that Item.

For Example:

<div class="treeview" id="navigationTree" data-mdb-line="true"><ul><li>test one</li><li>test two</li></ul></div>

When I click on the element, data should be inserted via event.

For Example:

<div class="treeview" id="navigationTree" data-mdb-line="true"><ul><li><a>test one</a><ul><li>test three</li></ul></li><li>test two</li></ul></div>

Is it possible to create something like that? I get data via JQuery as JSON. I just don't know how to regenerate the TreeTable.

I hope someone can help me...


Michał Duszak staff answered 3 years ago


The select.mdb.treeview event might help you. You may get the info of a list to load in the items property, so that you can rerender the Treeview again with new data.



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: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 3.5.0
  • Device: Computer
  • Browser: Firefox
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No