Yuriy4
(Yuriy Artamonov)
February 19, 2017, 4:45pm
1
Grouping in Grid/Table is a pretty standard feature for enterprise applications that enables user to group data by several attributes. For instance, there is grouping grid in Smart GWT
http://www.smartclient.com/smartgwt/showcase/#grid_grouping_custom
How can I implement something like Grouping Grid in Vaadin? Is there any docs on extending Grid features?
Are there any plans to implement this feature in the framework?
Tatu2
(Tatu Lund)
February 20, 2017, 7:45am
2
Hi,
I think what you are looking for exists already, we just do not call it grouping, but hierachical version of Grid. See this Vaadin TreeGrid add-on.
https://vaadin.com/directory/#!addon/vaadin-treegrid
This component will be integrated to Vaadin 8.1.
https://vaadin.com/roadmap
Yuriy4
(Yuriy Artamonov)
February 20, 2017, 8:12am
3
In fact, Grid Tree is not a replacement for Grouping because a user cannot group by properties and Grid Tree can show hierarchy only in one column. Also, Grouping Grid works with data rows only, Grouping rows are not part of the data and created dynamically in the component.
See attached screen shot, it is the example of real world Grouping, that is configured using Drag and Drop by a user.
Yuriy4
(Yuriy Artamonov)
February 22, 2017, 1:34pm
4
I’ve created Feature Request:
https://github.com/vaadin/framework/issues/8657
Hope it will be useful for the community and framework team.
Jouni1
(Jouni Koivuviita)
May 31, 2018, 11:52am
5
This feature is more likely to be implemented in the <vaadin-grid>
web component and then have a Java API integration to Vaadin Flow: https://github.com/vaadin/vaadin-grid/issues/346