TreeList.CutOverflow

Syntax

CutOverflow: Boolean

Description

The CutOverflow property determines whether to show an ellipsis instead of the text that overflows the box.

Comments

This property is relevant if the TreeList.ShowColumns property is set to false and the TreeList.WordWrap property is set to true.

If the property is set to True, ellipsis is displayed instead of overflowing text, if this property is set to False (default), the ellipsis is not displayed.

Example

To execute the example, the page must contain the TreeList component named treeListSett (seebsp; Example of Creating the TreeList Component). Decrease component width, enable word wrap and disable columns displaying:

//enable text wrapping

treeListSett.setWordWrap(true);

//Disable columns displaying

treeListSett.setShowColumns(false);

//decrease component width

treeListSett.setWidth(120);

 

The component looks as follows:

Show an ellipsis instead of overflowing text:

treeListSett.setCutOverflow(true);

 

The component looks as follows:

See also:

TreeList