This page introduces how to display multiple lines in a table cell.
Normally data bound with the cell is specified single-line string as the value. To display multiple lines in a table cell, developers need to insert line separators into the data by Java. Operations have Implementation class which can directly set the value of data. The following steps are based on Java operation implementation. For more information about operation, see Operation state.
1 Click the ImplClass of the operation.
2 In the opened Implementation class, define the data (kc) and specify the multi-line string as the value by function setValueAt.
You can use \n or \r as line separators to insert multi-line string.
3 Save the operation.
4 Define the output data mapping from the operation data (kc) to flow data (kc1). This flow data is to be bound with the table column.