Select theme:
Templates allow you to customize the appearance of Radzen components. For example put a Button in a DataGrid column or make the column data bold. There are two ways to use templates in Radzen - via the Template editor and from code.
The template editor is a custom design time experience that starts when you click the "edit template" button next to any template property.
Such properties usually contain "template" in their name - Template
, HeaderTemplate
, FooterTemplate
etc.
Here is how to add a button to a DataGrid column and make it open a dialog.
${data}
to access the current data item.
It is one of the implicit properties also known as the template context or template data.For simpler cases (or very custom ones) you can use code in templates. For example you can make the text of a DataGrid column bold by using the <strong>
HTML tag.
Set the Template of a the column to <strong>${data.PropertyName}</strong>
.
Radzen is free to use. You can also test the premium features for 15 days.
Download NowSelect theme: