Development tools : XUI editor : Editing an XUI page : Editing the properties of table : Displaying multiple lines in table cell
  
Displaying multiple lines in table cell
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.
This graphic is described in the surrounding text.
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.
For more information, you can refer to Defining data formatter.
5 Select the table column and specify the flow data (kc1) as its Data Name.
This graphic is described in the surrounding text.
See also
Editing the properties of table