Example of undefined in React Tree Grid Component

/
/
ColumnTemplate

This sample demonstrates the usage of template columns in Tree Grid. In this sample, we have presented the sparkline charts.

More Details...

Loading....
Description

The Tree Grid provides a way to use a custom layout for each cell using column template feature. The columns->template{" "} property accepts either string or HTML element`s ID value, which will be used as the template for the cell.

In this demo, using column template, we have presented sparkLine charts for the "Tax per annum", "One day index" and "Year GR" columns. In columns->template we have assigned with the ID of a SCRIPT element whose content is used as the template.

More information about Column Formatting can be found in this documentation section.