Skip to content

[Feature Request] VTreeTable component or aggregation support #6039

Closed as not planned

Description

@SGarno

Problem to solve

There are a lot of applications for a data table which has hierarchical groupings but still retains the tabular columns. It is a blend of v-tree-view and v-data-table, to become a v-tree-table.

I am posting this as a separate feature request, but it is somewhat related to issue #3180. However, I believe it is different enough, and perhaps even encapsulates the functionality that a grouped data table provides. With a v-tree-table, the grouped table may not be needed(??)

Proposed solution

Look at https://docs.webix.com/desktop__treetable.html#apireference as an example of what functionality it provides as well as an API. It is certainly not "vuetified" but it might give some good ideas as to how to implement.

Pinned by J-Sek

Activity

  1. added
    pending reviewThe issue is still pending disposition
    and removed
    S: maybeFunctionality that we are considering
    on Jan 5, 2019
  2. nekosaur commented on Jan 5, 2019

    @nekosaur
    Member

    It is very unlikely that we would develop something like this for inclusion in core vuetify. It might be possible to make some version of it in user land with the upcoming 2.0 data-table, although there are no guarantees.

  3. morficus commented on Jul 13, 2019

    @morficus
    Contributor

    +1 for having this as part of Vuetify
    here is another example: http://tabulator.info/examples/4.2?#tree

    I 100% agree that this is quite different from having row-groups, since having a tree-like structure implies the data is hierarchical (and could have multiple levels) while grouping is simply taking a single dimension and joining it by common values.

  4. ifiri commented on Oct 2, 2019

    @ifiri
  5. aalopatin commented on Oct 16, 2019

    @aalopatin
  6. Threnos commented on Oct 30, 2019

    @Threnos
  7. WaloGomez commented on Dec 17, 2019

    @WaloGomez
  8. zyxel648 commented on Jan 17, 2020

    @zyxel648

    View this link https://github.com/portablemind/vuetify_tree_data_table

    This plugin for vuetify version 1.x 😒

    I'm also looking for tree-table component for vuetify 2.x

  9. guykatz commented on Apr 6, 2020

    @guykatz
  10. alishanster commented on Jul 29, 2020

    @alishanster
  11. JeanPerriault commented on Aug 4, 2020

    @JeanPerriault

    Same as @alishanster, I would like to find recommendations on work-arounds. I can see that libraries like "angular material", and even "material design system", don't propose/describe this kind of component. Is that because it is too complex to use (I sometime think this is the case)?. Anyway, can't find any guidance on how to replace this.
    Should we propose first a tree to drill down, then once a leaf is selected propose a form to modify item attributes? How do you mass update in this case?
    Thx for any useful thoughts or links on this.

  12. SGarno commented on Aug 4, 2020

    @SGarno
    Author

    It is a fairly complex component, but for that reason, I think it should be part of the framework. I have seen a number of implementations and (in my opinion) the only one that truly works well is one that is based on a flat list of nodes where the visual part is a view into the dataset, as opposed to one that uses a hierarchical dataset (i.e. Child nodes).

    As the node list gets large, you can just render a view on the flat list and allow data to be loaded incrementally. Doing the same thing in a Child node style approach fails miserably in performance, and you can't sort/search/filter easily across the hierarchically structured nodes.

    I don't know if this is something that the Vuetify feels is important (in the grand scheme of things they have on their list to accomplish), but I certainly would greatly welcome this component to the list. :-)

  13. waqasdilawar commented on Jun 14, 2021

    @waqasdilawar
  14. lacoste-sochi commented on Feb 20, 2022

    @lacoste-sochi
  15. annushka-sh commented on Mar 10, 2022

    @annushka-sh
  16. reopened this on Mar 11, 2025
  17. changed the title [-][Feature Request] V-Tree-Table object is needed[/-] [+][Feature Request] VTreeTable component or aggregation support[/+] on May 25, 2026
  18. J-Sek commented on Oct 20, 2026

    @J-Sek
    Contributor

    VDataTable already supports nested groups. In order to make it look like any other Tree-Table component out there you only need to hide the header Group header and make small adjustment to 1st column padding: demo

    I agree it does not come with tree-specific semantics and a11y, but adding one more table component (next to server and virtual variants) would be too much given limited team resources. It will be more honest to just close the feature request than drag it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions