![]() |
VOOZH | about |
dotnet add package MeshWeaver.Blazor.Radzen --version 3.0.0-preview1
NuGet\Install-Package MeshWeaver.Blazor.Radzen -Version 3.0.0-preview1
<PackageReference Include="MeshWeaver.Blazor.Radzen" Version="3.0.0-preview1" />
<PackageVersion Include="MeshWeaver.Blazor.Radzen" Version="3.0.0-preview1" />Directory.Packages.props
<PackageReference Include="MeshWeaver.Blazor.Radzen" />Project file
paket add MeshWeaver.Blazor.Radzen --version 3.0.0-preview1
#r "nuget: MeshWeaver.Blazor.Radzen, 3.0.0-preview1"
#:package MeshWeaver.Blazor.Radzen@3.0.0-preview1
#addin nuget:?package=MeshWeaver.Blazor.Radzen&version=3.0.0-preview1&prereleaseInstall as a Cake Addin
#tool nuget:?package=MeshWeaver.Blazor.Radzen&version=3.0.0-preview1&prereleaseInstall as a Cake Tool
A Radzen Blazor DataGrid adapter for MeshWeaver's GridModel, providing a fully open-source (MIT licensed) grid solution.
This project provides a Radzen DataGrid component that consumes the same GridControl and GridOptions models used by the previous AgGrid adapter. Radzen Blazor is completely free and open source under the MIT license.
GridOptions, ColDef, and GridControl definitions<ProjectReference Include="..\MeshWeaver.Blazor.Radzen\MeshWeaver.Blazor.Radzen.csproj" />
Program.cs or startup configuration:// Add Radzen services
builder.Services.AddRadzenServices();
config.AddRadzenDataGrid();
App.razor or layout:<link rel="stylesheet" href="_content/Radzen.Blazor/css/material-base.css">
Or for dark theme:
<link rel="stylesheet" href="_content/Radzen.Blazor/css/material-dark-base.css">
The AddRadzenServices() extension method configures:
Use the same GridControl and GridOptions as you would with AgGrid:
var gridControl = new GridControl(
new GridOptions
{
ColumnDefs = new[]
{
new ColDef { Field = "name", HeaderName = "Name", Sortable = true },
new ColDef { Field = "age", HeaderName = "Age", Sortable = true, Filter = true },
new ColDef { Field = "email", HeaderName = "Email" }
},
RowData = new[]
{
new { name = "John", age = 30, email = "john@example.com" },
new { name = "Jane", age = 25, email = "jane@example.com" }
}
}
);
| Feature | AgGrid | Radzen | Notes |
|---|---|---|---|
| Columns | |||
| ColumnDefs | ✅ | ✅ | Fully supported |
| RowData | ✅ | ✅ | Fully supported |
| DefaultColDef | ✅ | ⚠️ | Partial - used for defaults |
| Field | ✅ | ✅ | Fully supported |
| HeaderName | ✅ | ✅ | Fully supported |
| Width/MinWidth/MaxWidth | ✅ | ✅ | Width supported |
| Flex | ✅ | ⚠️ | Mapped to auto width |
| Hide | ✅ | ✅ | Via Visible property |
| Resizable | ✅ | ✅ | Fully supported |
| Sortable | ✅ | ✅ | Fully supported |
| Filter | ✅ | ⚠️ | Simple filter only |
| Pinned | ✅ | ❌ | Not supported |
| Styling | |||
| CellClass | ✅ | ⚠️ | Limited support |
| CellStyle | ✅ | ✅ | Color, background, font-weight |
| HeaderClass | ✅ | ⚠️ | Limited support |
| RowStyle | ✅ | ⚠️ | Partial support |
| RowHeight | ✅ | ⚠️ | Affects page size calculation |
| HeaderHeight | ✅ | ❌ | Not directly supported |
| Formatting | |||
| ValueGetter | ✅ | ❌ | Not supported (JS function) |
| ValueFormatter | ✅ | ⚠️ | Basic numeric formatting only |
| CellRenderer | ✅ | ⚠️ | Use Template instead |
| Grouping & Aggregation | |||
| RowGroup | ✅ | ❌ | Not supported |
| GroupDisplayType | ✅ | ❌ | Not supported |
| AggFunc | ✅ | ❌ | Not supported |
| Pivot | |||
| PivotMode | ✅ | ❌ | Not supported |
| Pivot | ✅ | ❌ | Not supported |
| Tree Data | |||
| TreeData | ✅ | ❌ | Not supported |
| GetDataPath | ✅ | ❌ | Not supported |
| Column Groups | |||
| ColGroupDef | ✅ | ⚠️ | Flattened to columns |
| Other | |||
| Editable | ✅ | ✅ | Supported |
| SideBar | ✅ | ❌ | Not supported |
| DomLayout | ✅ | ⚠️ | autoHeight supported |
AgGrid supports JavaScript function strings which are not supported in Radzen adapter. Consider:
Use Radzen's Template feature in the component or pre-format data.
Pre-format data on server:
var rowData = items.Select(item => new
{
name = item.Name,
amount = item.Amount.ToString("C2"),
date = item.Date.ToString("yyyy-MM-dd")
});
Column groups are automatically flattened to individual columns.
To migrate from AgGrid to Radzen:
config.AddAgGrid() with config.AddRadzenDataGrid()services.AddBlazoriseServices() with services.AddRadzenServices()Radzen provides multiple built-in themes:
Change theme by referencing different CSS files:
<link rel="stylesheet" href="_content/Radzen.Blazor/css/fluent-base.css">
Radzen Blazor is MIT licensed and completely free to use. See Radzen Blazor GitHub for more information.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.0.0-preview1 | 93 | 4/16/2026 |