Tree Grid / Rows / Row Template

Blazor Tree Grid Example - Row Template

Loading Syncfusion Blazor Server Demos…

1 of 7 pages (50 items)

This sample demonstrates how to customize each row using a row template in the Tree Grid. It allows displaying data in a personalized layout with custom content and styling.

Row templates are configured using the RowTemplate property within the TreeGridTemplates component. To maintain the hierarchical structure and expand/collapse behavior, the tree column must be defined using the RowTemplateTreeColumn component.

In this demo, the row template is used to customize the layout of each row by combining multiple fields into a structured design:

  • The "Project" column is set as the tree column using RowTemplateTreeColumn and displays an icon, project name, owner, and department.
  • The "Status / Tags" column includes a status chip and tag indicators.
  • The "Timeline" column shows the start and end dates.
  • The "Progress" column displays a progress bar based on calculated values.
  • The "Budget" column shows the spent and total budget with percentage usage.
  • The "Actions" column includes a dropdown to update status and buttons to open or hold the project.

More information about row templates can be found in this documentation section.

Transform your Blazor web apps today with Syncfusion® Blazor components
145+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE