Example of Row Template in ASP.NET Core Tree Grid Control

This sample demonstrates the TreeGrid component with the row template feature. In this sample, we have rendered each TreeGrid row using the template.

DEMO
SOURCE

The TreeGrid provides a way to use a custom layout for its rows using template feature. The rowTemplate property accepts either string or HTML element`s ID value, which will be used as the template for the row.

In this demo, we have presented Employee Information with Employee Photo and employee details like Name, Address etc.

The template expression should be provided inside ${...} interpolation syntax.

Transform your ASP.NET Core web apps today with Syncfusion ASP.NET Core components
85+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE