DataType
Extends:
The base view type for displaying data from the model.
Static Member Summary
| Static Public Members | ||
| public static |
defaultRef: * The default ref. |
|
| public static |
typeName: * |
|
Static Method Summary
| Static Public Methods | ||
| public static |
parseOptions(field: *, parseField: *): Immutable.Map Parses the |
|
Constructor Summary
| Public Constructor | ||
| public |
|
|
Member Summary
| Public Members | ||
| public |
options: * |
|
Method Summary
| Public Methods | ||
| public |
filter(filterValue: *, rowValue: *, dataType: *): * Filters the value by calling the underlying field's filter function. If the field is not found, call the super's filter function instead. |
|
| public |
|
|
| public |
getDisplay(renderData: *): object |
|
| public |
|
|
| public |
getFieldAndValue(renderData: *): object Returns the field and value of the underlying data type. |
|
| public |
|
|
| public |
Returns the reference to the underlying data. |
|
| public |
getValue(renderData: RenderData): object |
|
| public |
initialize(renderData: *): * |
|
| public |
isEditable(): bool Returns whether the underlying data type should be editable or not. |
|
Static Public Members
public static defaultRef: * source
The default ref. This references the root of a passed in value (aka, the value itself).
public static typeName: * source
Static Public Methods
public static parseOptions(field: *, parseField: *): Immutable.Map source
Parses the ref option into a {@Ref} type.
Params:
| Name | Type | Attribute | Description |
| field | * | ||
| parseField | * |
Return:
| Immutable.Map | The parsed options. |
Public Constructors
public constructor() source
Public Members
public options: * source
Public Methods
public filter(filterValue: *, rowValue: *, dataType: *): * source
Filters the value by calling the underlying field's filter function. If the field is not found, call the super's filter function instead.
Params:
| Name | Type | Attribute | Description |
| filterValue | * | ||
| rowValue | * | ||
| dataType | * |
Return:
| * |
public getFieldAndValue(renderData: *): object source
Returns the field and value of the underlying data type.
Params:
| Name | Type | Attribute | Description |
| renderData | * |
public getValue(renderData: RenderData): object source
Params:
| Name | Type | Attribute | Description |
| renderData | RenderData | The render data to get the value of. |
public initialize(renderData: *): * source
Params:
| Name | Type | Attribute | Description |
| renderData | * |
Return:
| * |
public isEditable(): bool source
Returns whether the underlying data type should be editable or not.
Defaults to true.
Return:
| bool |
|