appendRow(table,row)

Append the data in array row to the Embedded Table data block named table in the associated Data Worksheet.

Example

The script below can be placed in the onClick handler of a Submit button. See Add Component Script for more information.

var row = ['Sue','New York',534,1329.45,0];
appendRow('SalesTable',row);

// Save the Data Worksheet, included the modified Embedded Table:
saveWorksheet();

// Refresh the Dashboard with saved data from the Data Worksheet:
refreshAfterSubmit = true;

See saveWorksheet() and refreshAfterSubmit for more information about these functions.