• Fluent
  • Fluent Dark
  • Bootstrap v5
  • Bootstrap v5 Dark
  • Tailwind CSS
  • Tailwind CSS Dark
  • Material
  • Bootstrap v4
  • High Contrast
Preferences
Mode Selection
Touch
Mouse
Theme Selection
Localization
*Translated by Google Translator.
Currency
Essential Studio
HOME
All Controls

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.