New to Telerik UI for ASP.NET Core? Download free 30-day trial
ASP.NET Core Grid Row Template
- EXAMPLE
- VIEW SOURCE
-
Change Theme
defaultDefault Theme
- Main
- Main Dark
- Nordic
- Ocean Blue
- Ocean Blue A11Y
- Purple
- Turquoise
Bootstrap Theme- Main
- Bootstrap 3
- Bootstrap 3 Dark
- Main Dark
- Nordic
- Turquoise
- Turquoise Dark
- Urban
- Vintage
Material Theme- Main
- Arctic
- Lime Dark
- Main Dark
- Nova
Classic Theme- Main
- Green
- Green Dark
- Lavender
- Lavender Dark
- Main Dark
- Metro
- Metro Dark
- Moonlight
- Opal
- Opal Dark
- Silver
- Silver Dark
- Uniform
Fluent Theme- Main
Also available for:
CLIENT-SIDE API HTML HELPER APIDescription
The Telerik UI for ASP.NET Core Grid allows you to implement flexible customization in its rows in terms of layout and appearance by exposing its row template feature.
This demo shows how to specify your own custom layout for the rows in the Data Grid by using images and property bindings from its underlying data source.
To implement the row template feature, use the ClientRowTemplateHandler()
and, optionally, ClientAltRowTemplateHandler()
options that accept a JavaScript handler, which returns the respective row template. Alternatively, you can define the desired templates within the Grid configuration through the ClientRowTemplate()
and ClientAltRowTemplate()
options. Note that the customized row templates must contain table row HTML elements.
For more information about the template support, refer to the resources on the Kendo UI Template Syntax.