bootstrap-vue / bootstrap-vue

BootstrapVue provides one of the most comprehensive implementations of Bootstrap v4 for Vue.js. With extensive and automated WAI-ARIA accessibility markup.
https://bootstrap-vue.org
MIT License
14.5k stars 1.87k forks source link

Support for Tree View Component #7173

Open TonBits opened 12 months ago

TonBits commented 12 months ago

Is your feature request related to a problem? Please describe...

We have to include other components outside bootstrap-vue or sometimes make a hard decision to use another framework as there essential components are missing. Tree view could be considered a core UI component just like a table.

Describe the solution you'd like

Simply putting this here as a good reference implementation for Tree View https://element.eleme.io/#/en-US/component/tree

A tree view component that supports the following 1.) Hierarchy with unlimited depth (Tree Node can be a child and it can also be a parent if you add child nodes to the Tree Node) 2.) Selection - ability to select tree nodes (check boxes) 3.) Support for Icons - built-in support for icons if icon is provided. Alternatively a custom template allows developers to customize the content of the tree node display. 4.) Lazy loading - ability to load children lazily. When a Tree Node is clicked or to be expanded, the developer has the ability to perform an action e.g. calling a REST API to load the data for that particular node.

Describe alternatives you've considered

The alternative is use other tree view implemented from other frameworks. But including other frameworks sometimes makes the application so bloated and sometimes messy (e.g. doing unnecessary stuff to get things working together).

Additional context

Tree View2 Tree View

Hiws commented 12 months ago

This project isn't currently maintained, so there's no chance for new features being added.

TonBits commented 12 months ago

This project isn't currently maintained, so there's no chance for new features being added.

Thanks for pointing that out. Didn't realize that until you mentioned it. Sad to hear. I checked the release and it was since April last year. :(