Customize Blazor DataGrid cell content with column templates - render images, badges, buttons, links, or any markup in a column instead of plain text.
# | Employee | Order Date | Freight | ShipCountry | Order Details |
|---|---|---|---|---|---|
| 1 | Steven Buchanan Vins et alcools Chevalier | 07/04/2023 | $32.38 | France | |
| 2 | Michael Suyama Toms Spezialitäten | 07/05/2023 | $11.61 | Germany | |
| 3 | Margaret Peacock Hanari Carnes | 07/08/2023 | $65.83 | Brazil | |
| 4 | Janet Leverling Victuailles en stock | 07/08/2023 | $41.34 | France | |
| 5 | Margaret Peacock Suprêmes délices | 07/09/2023 | $51.30 | Brazil |
Add a Template to the column and put any Razor markup inside; you get the row item as context to bind to.
Radzen Blazor Components, © 2018-2026 Radzen.
Source Code licensed under
MIT