Search results

TextWrapSettingsModel API in JavaScript TreeGrid API control

Interface for a class TextWrapSettings

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.