This sample demonstrates the Tree Grid component with the stacked header feature. In this sample, we have shown multiple levels of column header.
Order Details | Shipment Details | Price Details | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
Order ID | Order Name | Order Date | Shipment Category | Shipped Date | Units | Price per unit | Total Price | |||
No records to display |
The Tree Grid columns can be stacked/grouped in order to show multiple levels of column header. It can be done by setting the columns->columns
property.
In this demo, the columns Order ID, Order Name, Order Date are grouped under Order Details, the columns Shipment Category, Shipped Date, Units are grouped under Shipment Details and Price per Unit, Total Price are grouped under Price details.
More information on the stacked header configuration can be found in this documentation section.