Class: SearchContainer

XV. SearchContainer

High-level container showing a list of searchable items available to the advanced search widget.
Used for attaching documents, searching for relational widget values, etc.
Derived from enyo.Panels.

new SearchContainer()

Source:

Extends

  • enyo.Panels

Members

published :Object

Published fields
Type:
  • Object
Properties:
Name Type Description
callback Function to call when selection is made that passes back the selected model.
conditions Filter parameters that are not editable by the user.
defaultParameterItemValues Filter parameters applied to the parameter widget and that are editable by the user.
Source:
To Do:
  • What is the type for each of these properties?

Methods

close()

Source:
To Do:
  • Document the close method.

defaultParameterItemValuesChanged()

Source:
To Do:
  • Document the defaultParameterItemValuesChanged method.

fetch()

Source:
To Do:
  • Document the fetch method.

itemTap()

Source:
See:

requery()

Source:
To Do:
  • Document the requery method.

setList(Options)

Parameters:
Name Type Argument Description
Options Object
options.list String <optional>
Class name
options.callback function <optional>
Function to call when selection is made. Passes back the selected model
options.conditions Array <optional>
Array of filter criteria not editable by the user
options.parameterItemValues Array <optional>
Array of default values
Source:
See:
  • {XM.ParameterWidget}