cancel
Showing results for 
Search instead for 
Did you mean: 

Tree View Control

The idea is a new control called Tree View. The existing controls (different galleries, drop down lists) make it very difficult (or impossible) to work with hierarchical data structures. What we would like to have is a cascading tree view. You should be able to:

  • open and close cascading branches of the view
  • filter based on search term
  • select a node (or, if possible, sometimes multiple nodes)

I know that standard list view works to some extend here, but our hierarchy has 9000 items. It is very hard to select an item and somehow know that there are child items when using the existing controls.

Status: Under Review

@Gargoolgalagood point

Comments
Flow Staff

Thanks @FilipK for that correction! Smiley Happy

Level: Power Up

Any sign of a tree view control yet?

I am about to start on my first Power App and require this type of control.

Level: Powered On

This control is desperately needed, especially for custom SharePoint forms on a list that uses Managed Metadata.

 

I have a client that has had to "flatten" their Term Set in SharePoint, for the primary purpose of being able to use it in their PowerApps form.

 

For example:

Tree Item 1

-- Item A

-- Item B

Tree Item 2

-- Item A

-- Item B

 

Appears in a combobox control in PowerApps something like this:

Item A

Item A

Item B

Item B

Tree Item 1

Tree Item 2

 

The client had to rename all of their terms (which was very large and had multiple levels!) by prefixing each term with the parent term name, like this:

 

Tree Item 1

-- Tree Item 1 - Item A

-- Tree Item 1 - Item B

Tree Item 2

-- Tree Item 2 - Item A

-- Tree Item 2 - Item B

 

While that is fine as a workaround for now, it is not an acceptable long term solution. PowerApps needs a tree control to show hierarchical choices just like SharePoint does now out of the box with Managed Metadata!

 

Like this:

Capture3.PNG

Level: Power Up

Totally agree with it...Really need an overview/tree view for the customized flow.

Level: Powered On

For those of you looking to display hierarchical information - I have been able to do this with the standard vertical gallery, here is a screenshot of the hierarchy for the companies owned by Time Warner:

 

2018-08-28_8-25-32.png

Most of the magic occurs behind the scenes. My Azure SQL table contains records with the company name, ID and parentID. I have a SQL view which assembles a treepath as follows:

 

 

 

2018-08-28_8-38-32.jpg

 

My form handles the rest: I can query the entire tree or just "children" under a certain parent, and as long as I sort by the "treepath" field - I get the control to populate in the right order to display this as a hierarchy.

 

Each row has an icon and a text field. The text field is relative in its X to the icon so all I need to do is pad the icon and offset it based on the level in order to get this view. Take a look:

2018-08-28_8-41-01.jpg

 

 

If you need help with the SQL query to create the treepath, let me know.

Level 8

@tirandaganCreative use of the gallery Smiley Happy But we need a native control that supports expand/collapse, hierarchical data, selection etc. 

Level: Powered On

@JohnPagree 100%, thanks for posting this Smiley Happy

PowerApps Staff

Hi everyone, unfortunately a proper tree view contro is not on our immediate roadmap, we'll be considering it in 2019.

Level 8

Very disappointing this is not seen as a required control. I use Treeviews in most applications.

Level: Powered On

I have 2018-09-06_11-53-53.gifbeen able to create a treeview control within PowerApps, including live collapse/expand using the standard Gallery control! Here is a quick video I recorded. You might be able to build this yourself just by watching the video. I plan to post more details in the near future.

 

Tiran

 

Creating a simulated treeview control in PowerApps