ValueTree.ChooseRow

Syntax:

ChooseRow(<Title>, <InitialRow>)

Parameters:

<Title> (optional)

Type: String.
Row selection dialog caption.
If no caption is specified, the standard caption "Select row" will be used.

<InitialRow> (optional)

Type: ValueTreeRow.
Initial tree row (will be selected when the dialog is opened). If not specified, the first tree row will be selected.

Returned value:

Type: ValueTreeRow; Undefined.
If the user cancels selection, the Undefined value is returned.

Description:

Produces a modal window for selecting rows from value tree.

Availability:

Thick client.

Example:

Selection = PurposeTree.ChooseRow("Select a value");

    

1C:Enterprise Developer's Community