multirowSetRows

Usable on NewEdit pages. Removes all existing rows in the a multirow and replaces them with new rows from the procedure.

The multirow procedure is called with the additional arguments:

@MultirowAction = 'load'
@ImportType = '<value from JavaScript>'
@ImportId  ='<value from JavaScript>'

Alternatives

The more common way of replacing the contents of a multirow is to give it a value-dependency on another input field.

See also

multirowClearAllRows
multirowAppendRows

Usage

multirowSetRows(fieldname, importType, importId)

Parameters

fieldname : String

Name of the multirow control. If no field with this name exists on the current input page, or if the field is another control type than multirow, then behavior is undefined.

importType : String

This value is passed to the stored procedure in the @ImportType parameter.

importId : String

This value is passed to the stored procedure in the @ImportId parameter.