[PR #184] allow to use RenderFragment for empty DataGrids #2055

Closed
opened 2026-01-29 18:16:56 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/radzenhq/radzen-blazor/pull/184

State: closed
Merged: Yes


fixes #183

  • Creates a EmptyTemplate property for RadzenDataGrid and RadzenGrid
  • Renders the EmptyTemplate when it is not null instead of the EmptyText (including the )
  • Adds Unit Tests for the Rendering (there are only unit tests for RadzenGrid available, not RadzenDataGrid; Drop me a note if I should add at least EmptyTemplate tests for RadzenDataGrid)
  • Adds an example page showing different versions of empty DataGrids
**Original Pull Request:** https://github.com/radzenhq/radzen-blazor/pull/184 **State:** closed **Merged:** Yes --- fixes #183 * Creates a `EmptyTemplate` property for `RadzenDataGrid` and `RadzenGrid` * Renders the `EmptyTemplate` when it is not null instead of the EmptyText (including the <span>) * Adds Unit Tests for the Rendering (there are only unit tests for `RadzenGrid` available, not `RadzenDataGrid`; Drop me a note if I should add at least EmptyTemplate tests for `RadzenDataGrid`) * Adds an example page showing different versions of empty DataGrids
claunia added the pull-request label 2026-01-29 18:16:56 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#2055