Please enable JavaScript to view this site.

Process Designer

Navigation: Javascript API > User dialog functions > Subtable view functions > Data > Change rows

jr_copy_subtable_row(string subtableViewName, mixed rows)

Scroll Prev Top Next More

This function copies one or more existing rows of a subtable view. The number of copies is retrieved from the field with number of rows below the subtable view.

Parameter

Type

Description

subtableViewName

string

Name of subtable view

rows

int | array

ID of the row or array, which contains the ID's of several rows, that are to be copied

This function does not return a value.

If the subtable view contains a callback function Before Add, it will be called up each time before a copied line is added.

If the subtable view contains a callback function After Add, it will be called up each time after a copied line was added.