DataGrid - Expanding row details

Does datagrid support EXPANDING ROW DETAILS to Show more data under a row in an expandable details row like Vaadin Grid?

Hi,

Unfortunately, there is no API to add a DetailsGenerator to a DataGrid. I’ve created a YouTrack issue.

I would recommend you to unwrap the DataGrid component to the Vaadin Grid component and add a DetailsGenerator using Vaadin Grid API, for example:

dataGrid.unwrap(Grid.class).setDetailsGenerator((Grid.DetailsGenerator) rowReference -> {
    // add your code here ...
});

Regards,
Gleb

1 Like