• 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 Header Template in ASP.NET Core Data Grid Control

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

DEMO
SOURCE

The Grid provides a way to use 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 have render customized template for EmployeeID and BirthDate column headers.