Unplanned
Last Updated: 01 Jul 2025 17:20 by Walter
Created by: Walter
Comments: 0
Category: TreeView
Type: Feature Request
1

Hello, 

I have a treeview that is getting the first items which are locations, then it loads divisions as its children. I want to have the treeview load a top item called "Locations" that is static. It will need to be expanded and load all the locations under it. Then when I click on a location it loads the divisions. The locations and divisions will be populated by a call to the controller and action. I have yet figured out how to do this and is it even possible? Here is the code I have right now. You will see for now that I am loading a div with the location icon and "Locations" as the text, but I would like this to be the top root level of the treeview.

 

Unplanned
Last Updated: 10 Aug 2020 08:43 by ADMIN
Add a method(similar to total) that returns the total number of loaded items in the hierarchical dataSource.
Unplanned
Last Updated: 12 Mar 2019 23:40 by Aldermar
Created by: Aldermar
Comments: 1
Category: TreeView
Type: Feature Request
3
Hence, binding to Model and ViewBad will be feasible.