Are there others in this forum who would like to see a richer table component than what we currently have in Vaadin? For many years now, we have been heavy users of a JavaScript grid control called
DHTMLX Grid
in our non-Vaadin applications. It has been challenging for us to build the type of financial applications we build using the current Vaadin Table. While we would like to see Vaadin Table incorporate all features of the DHMLX Grid product, here are a few key features we would like. Not listed in any particular order
Multi-line header
See this example.
Click on
Extend Header
at the bottom of the table to view multi-line header.
Freeze columns
Table with sub-table
See this example.
It should be possible to turn on/off summary display at table and sub-table level.
Table with sub-component
This is same as previous item except that instead of table we have component. When a row of the table is expanded, it should be possible to show any Vaadin Layout instead of sub-table. Along the lines
of this example.
Click on the Plus in the first column.
Versatile header cells
Ability to put any Vaadin component such as Button, TextField or ComboBox in the table header, along the lines of
this example
. Currently, we can achieve this support partially using
CSS and layouts
which is not an elegant solution. It also limits us by allowing only fixed column width.
Column-specific menu
Multi-column sorting
The actual sorting code can run on server-side. However, the UI should display a Sort icon for each sorted column and the Table component should have an API to retrieve currently sorted columns as an array.
Scroll API
API to scroll current view of the table such that a particular row is visible.
Linked tables
Multi-line cells
With an API, rather than by altering a table’s CSS, we want to be able to do [indent]
this
.