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

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

This sample demonstrates the TreeGrid header template feature. In this sample, we have shown custom icons in the column headers.

DEMO
SOURCE

The TreeGrid provides a way to define a custom element in header element. Columns->HeaderTemplate property accepts either string or HTML element`s ID value, which will be used as the template for the header cell.

In this demo, we are rendering customized template for all column headers.

More information about Header template can be found in this documentation section.

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
opens in a new tab