DimSrv.setElementsGroup

Syntax

setElementsGroup(dim: PP.Mb.DimSource, args: Object, callback: Function|PP.Delegate, errorCallback: Function|PP.Delegate);

Parameters

dim. Dictionary.

args. Operation arguments. An object must contain the following fields: groupId - group identifier; limitToGroup - indicates if elements that are not in the group are deleted; if the argument is set to True, elements that are not in the group are deleted.

callback. Callback function.

errorCallback. Callback function on error.

Description

The setElementsGroup method adds an element group to dictionary metadata.

Example

The example of method use is given in description of the DimSrv.selectGroup method.

See also:

DimSrv