vaadin / platform

Vaadin platform 10+ is a Java web development platform based on Vaadin web components. If you don't know to which repository your bug report should be filed, use this and we'll move it to the right one.
https://vaadin.com
515 stars 76 forks source link

Grid: empty state message #5719

Open rolfsmeds opened 3 weeks ago

rolfsmeds commented 3 weeks ago

Description

A way to provide a message or other custom content in the Grid when there is no data to display. (This could be either because the data set is empty, or because the currently applied filters omit all the available data.)

Acceptance criteria

Feature request issue: https://github.com/vaadin/web-components/issues/2043

Visual design

The default plaintext message is rendered with

General criteria

Security

knoobie commented 3 weeks ago

A common use case to be considered:

rolfsmeds commented 2 weeks ago

I think loading state is a separate concern (covered by this issue), as the default visual representation would probably be quite different. (The linked issue proposes using the loading property to apply custom styling for this in the meantime.)