Example of Header Template in React Tree Grid Component

/
/
HeaderTemplate

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

More Details...

Planning
2/3/201785100
Plan timeline
2/3/201725100
Plan budget
2/3/201715100
Allocate resources
2/3/201715100
Planning complete
2/7/201770100
Design
2/10/20171360
Software Specification
2/10/20172360
Develop prototype
2/10/201733100
Get approval from customer
2/13/201712100
Design complete
2/14/201790100
Implementation Phase
2/17/20175580
Phase
2/17/20177550
1 of 2 pages (19 items)
Description

The Tree Grid 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 have render customized template for all column headers.

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