MetabaseTreeList.find

Syntax

find(findInfo: Object, filter: Object);

Parameters

findInfo. Search metadata.

filter. Filtering metadata.

Description

The find method searches for tree elements.

Comments

Structure of the findInfo and filter object is given in description of the Metabase.findObjects method.

Example

To execute the example, the HTML page must contain MetabaseTreeList component named list1 (see Example of Creating the MetabaseTreeList Component). Search for tree elements:

// Set search parameters by name
findInfo: {
Active: true,
Text: "FindMe",
Attribute: PP.Mb.FindInfoAttribute.Name,
};
// Search for elements
list1.find(findInfo);

After executing the example the found elements are highlighted.

See also:

MetabaseTreeList