Next
Update
Prev

This sample demonstrates how to display multiple lines in the cell. If you set the itemRenderer attribute to "TextAreaItem", then the carriage-return character (\n) will be replaced to the <br> tag.

You can set the variableRowHeight attribute to "true" so that when the cell height increases the grid row is resized to fit the cell height.


<DataGrid ... variableRowHeight="true" ... >
...
  <DataGridColumn dataField="desc" ... itemRenderer="TextAreaItem"/>
...

© 2017 KoolChart. All rights reserved.