Text wrap is a process in which extra text that doesn't fit in a single line is shifted down to one or multiple new lines as required
Grid has global wrap
option to wrap text that doesn't fit in a single line. It affects all cells in the grid.
css style "white-space" is set to "normal" or "nowrap" to control wrap for individual cells, rows and columns.
It's applied differently depending upon initialization or run time
rowData.pq_cellstyle
, rowData.pq_rowstyle
and column.style
properties respectively.
grid.Range(...).style
or grid.Range(...).toggleStyle
methods.
Any wrap property applied to individual entity overrides the global wrap property.
In this example, context menu is used to set wrap of individual cells, rows or columns during run time.
autoRow
option value should be kept true to see the effect of wrap property.