MetabaseTreeList.refresh

Syntax

refresh (objectKey, withCache)

Parameters

objectKey. Key of the object, the node of which is to be refreshed. The whole tree is refreshed if this parameter is not set.

withCache. If this parameter is set to False (default value), on refreshing the component the data is obtained from cache. If this parameter is set to True, the cache is cleared and its content is refreshed together with the component to get the latest data.

Description

The refresh method refreshes tree node by its key.

Example

The example of use is identical to the example for the MetabaseTreeList.refreshAll method.

See also:

MetabaseTreeList