• Material
  • Fabric
  • Bootstrap
  • Bootstrap v4
  • High Contrast
Theme Selection
Mode Selection
Essential JS 2
All Controls


This sample demonstrates the TreeGrid component with the auto wrap column cell feature. In this sample, you can see that Task Name column cell content exceeded the available width hence it has been wrapped into multiple lines.


Auto wrap cell content can be enabled using allowTextWrap property of the TreeGrid. Setting this property will wrap cell text on multiple lines. This feature is useful to view the cell content when it exceeds the cell width.

Setting this property will wrap the text in both content cell and header cell.

In this demo, the allowTextWrap property is enabled, and you can also see that the Task Name column whose content exceeded the cell width is wrapped into multiple lines.

More information on the data binding can be found in this documentation section.