Next
Update
Prev
Modified Data
Modified Data (XML)

Multiple lines can be editied by setting the value of the itemEditor attribute to TextArea. This example demonstrates how to edit the Description field that has multiple lines.

Try to double click on a cell of the Description column.

...
    <DataGridColumn ... itemEditor="TextArea" itemRenderer="TextAreaItem" editorUsesEnterKey="true" />
...
itemEditor The value must be set to "TextArea" to edit multiple lines.
itemRenderer If you set this attribute to "TextAreaItem", then \n will be automatically changed to <br>
editorUsesEnterKey Whether or not to use the Enter Key. (select either "true" or "false". default : "false")

© 2017 KoolChart. All rights reserved.