MetabaseDialogBase.refresh

Syntax

refresh(rootKey: Number, withoutCache: Boolean);

Parameters

rootKey. Key of the folder to be refreshed. If this parameter is not defined, the current folder is refreshed

withoutCache. Indicates whether folder contents is refreshed without updating cached data. If the parameters is set to false, data is loaded from cache during component update. If the parameter is set to true (default value), cache is cleared and its contents is updated together with the component to get the latest data.

Description

The refresh method refreshes folder contents by its key in a basic dialog box with repository.

Example

The example of use is given in the page MetabaseDialogBase.openFoldersTo.

See also:

MetabaseDialogBase