find(findInfo: Object, filter: Object);
findInfo. Search metadata.
filter. Filtering metadata.
The find method searches for tree elements.
Structure of the findInfo and filter object is given in description of the Metabase.findObjects method.
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: