JavaScript

{dialog.object}formViewRefresh Method

Syntax

{dialog.Object}.formViewRefresh(UXformViewControlId)

Arguments

UXformViewControlId

FormView control's ID.

Description

Repopulates the Form View with data from the FormView's data source.

Discussion

If the FormView is bound to a List control the data from the current row in the List is used to popualate the Form.

If the FormView is bound to UX controls, the form is populated with values from the UX controls.

Otherwise the data from the form's data source (typically a Javascript object) is used. If this data is an array, then the logical 'row' of data with which to populate the form is specified by the FormView object's 'row' property.

The FormView's 'row' property can be set using the {dialog.object}.formViewRow(formName,logicalRow) method.

See Also