• Material 3
  • Fluent
  • Bootstrap v5
  • Tailwind CSS
  • High Contrast
Preferences
Theme Selection
Theme Modes
Mode Selection
Touch
Mouse
Localization
*Translated by Google Translator.
Currency

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

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

DEMO
SOURCE

The Tree Grid 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 MVC web apps today with Syncfusion ASP.NET MVC components
85+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE