FormTable.BeforeAddRow

Syntax:

BeforeAddRow(<Cancel>, <Clone>, <Parent>, <IsFolder>, <Parameter>)

Parameters:

<Cancel>

Type: Boolean.
Indicates that object adding is cancelled. If you set this parameter to True in the body of the handler procedure, then object adding is not executed.
Default value: False.

<Clone>

Type: Boolean.
Defines the copying mode. If True is set, row copying occurs.

<Parent>

Type: Undefined; CatalogRef.; ChartOfAccountsRef..
Reference to the element that will be used as parent during addition.

<IsFolder>

Type: Boolean.
Group addition flag.
True - a group will be added.

<Parameter>

Type: Arbitrary.
Parameter of the command executed when a string is added to the table.
In the case of the standard Create by Parameter command, it contains the type of the document being created.
Otherwise, the parameter value is Undefined.
Default value: Undefined.

Description:

Called before beginning of interactive row addition.

Note:

In the handler of this event, you cannot use form server methods with the compiler directive &AtServer.

    

1C:Enterprise Developer's Community