New to Telerik UI for Blazor? Start a free 30-day trial
Column Header Template
Updated on Oct 1, 2026
Bound columns render the name of the field or their Title in their header. Through the HeaderTemplate, you can define custom content there instead of the title text.
Sample Header Template
Loading ...
Header Templates are not available for the
TreeListCheckboxColumnand theTreeListCommandColumn.
If you need to use block elements in the header templates, keep in mind that they will push the sort indicator out of its expected position. If you cannot avoid block elements (such as in the Name column above), add a CSS rule like the ones below to adjust the sort indicator.
Sort indicator adjustments when block elements are in the header template
.k-treelist th.k-header .k-icon.k-i-sort-asc-sm,
.k-treelist th.k-header .k-icon.k-i-sort-desc-sm {
position: absolute;
right: 0;
top: 8px;
}
/* OR */
.k-treelist-header .k-header > .k-link {
padding-right: 1.5em;
}
.k-treelist-header .k-header > .k-link > .k-icon {
position: absolute;
top: 50%;
right: 0.5em;
transform: translateY(-50%);
margin-left: 0;
}
.k-treelist-header .k-sort-order {
position: absolute;
right: 0.25em;
}