DropDownType
Extends:
Static Member Summary
| Static Public Members | ||
| public static |
typeName: * |
|
Method Summary
| Public Methods | ||
| public |
getFilterOptions(dataType: *): * Allows subtypes to define filter options for faster searches. |
|
| public |
getOptions(renderData: RenderData, input: string): Immutable.List Returns a list of avaliable options in the drop down, either specified in this view type's options, or in the passed in data type. |
|
| public |
getValueOption(dataType: *, value: *, renderData: *): undefined[] |
|
| public |
Supports async loading of options. |
|
| public |
Returns if this display should allow picking multiple items or not. |
|
Static Public Members
public static typeName: * source
Public Methods
public getFilterOptions(dataType: *): * source
Allows subtypes to define filter options for faster searches. Returns undefined so that the default filter options are used.
Params:
| Name | Type | Attribute | Description |
| dataType | * |
Return:
| * | The filter options. |
public getOptions(renderData: RenderData, input: string): Immutable.List source
Returns a list of avaliable options in the drop down, either specified in this view type's options, or in the passed in data type.
Params:
| Name | Type | Attribute | Description |
| renderData | RenderData | The render data to get options from. |
|
| input | string | If async, the input entered to return options for. |
Return:
| Immutable.List | a list of options. |
public getValueOption(dataType: *, value: *, renderData: *): undefined[] source
Params:
| Name | Type | Attribute | Description |
| dataType | * | ||
| value | * | ||
| renderData | * |