AddRow

Adds a row to the DataTable.

Syntax

public void addRow(DataRow row) 

Parameters

  • Row - DataRow to be added to the DataTable

Results

None.

Example

DataTable dataTable = message.getDataTable(); 

DataRow row = dataTable.newRow(); 
row.set("AddressLine1","4203 Greenridge"); 

dataTable.addRow(row);