appsmithorg / appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
https://www.appsmith.com
Apache License 2.0
34.71k stars 3.75k forks source link

[Feature] Tree Widget #2827

Open Nikhil-Nandagopal opened 3 years ago

Nikhil-Nandagopal commented 3 years ago

Summary

A user has requested for a tree widget that would allow them to create a hierarchical structure. The widget would work similar to the entity explorer and allow users to select a parent/child and correspondingly update some data on the UI

Properties

Children: Array { label: string, value: string, icon: string, children: Array } onNodeClick: ActionSelector selectedChild: Child

Examples of this widget https://blueprintjs.com/docs/#core/components/tree https://ant.design/components/tree/#header

mohanarpit commented 3 years ago

Closing as duplicate of #1759

Nikhil-Nandagopal commented 3 years ago

@mohanarpit reopening because they are different widgets, check out the examples

BigHoss commented 2 years ago

Any timeline for that?

Nikhil-Nandagopal commented 2 years ago

@BigHoss we don't have a timeline for this yet. Could you tell us a bit about your use case for this widget?

cc: @dilippitchika

BigHoss commented 2 years ago

@Nikhil-Nandagopal

i need to display a structure of devices in parent->child trees and compare multiple of those

dilippitchika commented 2 years ago

@BigHoss could you give a sample or design that you already have in mind for this?

Mace111 commented 1 year ago

Hi there, I am interested in this feature for asset management and the assignment of different properties after selecting specific nodes. The blueprintjs looks great. Is there any progress on implementing this tree widget?

We can't use the multitreeselect widget because it is confusing and inconvenient for the user when handling a deep tree with many nodes and/or children. For example:

UMinky commented 1 year ago

Moin, we are also very interested in a TreeView widget. Has there been any progress here?

MarcelMertens commented 1 year ago

We also looking for something like that. Use case for this: We have several IT Resources in a database with a hierarchy (Site > Datacenter > Rack > Server > VM) and like to show this in a tree view. Every Resource has a "TAG" assigned. The user can change the TAG by selecting one or multiple resources.

Wafje commented 1 week ago

Hi, Similar usecase here. We would like to be able to display a tree structure (folders and items)

Example: https://primevue.org/treetable/