Search results

TextWrapSettings API in Angular TreeGrid API component

Configures the text wrapping behavior of the TreeGrid.

Properties

wrapMode

WrapMode

Defines the wrapMode of the TreeGrid, controlling how text wrapping is applied to header and content. Available wrap modes are:

  • Both: Wraps both the header and the content of all columns.
  • Content: Wraps only the content of the columns, allowing headers to remain unchanged.
  • Header: Wraps only the header text of the columns, while content remains unwrapped. Text wrapping can improve readability when dealing with long text values or narrow column widths.

Defaults to Both