Custom message in grid when data provider returns empty data
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.8k
- Forks
- 717
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 3
Description
At present if data provider do not return any data, then grid will be rendered with empty content. It looks strange and unconvenient to end user. It should be possible to define custom error message (or custom component) which will render in grid's content area in such cases.
Having placeholder when there are no data available is generally accepted practice. For example, TableView in JavaFX has property 'placeholder' for such purpose.
Folks requested this feature 5 years ago, and still we haven't any good solutions for that.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the grid's content rendering when its data provider returns no rows. Review the existing Grid API and related tests, then define and verify the empty-state behavior for a configurable message or component.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100