import FilterContainerImpl from 'flexicious-react-datagrid/js/flexgrid/grids/filters/FilterContainerImpl.js'FilterContainerImpl
Extends:
A Class that encapsulates functionality that containers of filter controls should have.
Constructor Summary
| Public Constructor | ||
| public |
constructor(iEventDispatcher: *) |
|
Member Summary
| Public Members | ||
| public |
filterControls: *[] |
|
| public |
|
|
Method Summary
| Public Methods | ||
| public |
Clear all filter controls |
|
| public |
|
|
| public |
Return filter arguments |
|
| public |
getFilterExpression(iFilterControl: *): flexiciousNmsp.FilterExpression Get filter expression from filter control |
|
| public |
getFilterValue(column: flexiciousNmsp.FlexDataGridColumn): Object Get filter value from column |
|
| public |
getNextFilter(event: *): * |
|
| public |
getNextFocusableFilter(myIndex: Number, forward: Boolean, inclusive: Boolean): * Returns next focusable filter |
|
| public |
Check whether filter control search field belongs to this column or not |
|
| public |
isIFilterControlRegistered(iFilterControl: *): * Check whether filter control component already resgister or not |
|
| public |
kill() |
|
| public |
onChangeHandler(event: *) |
|
| public |
onKeyUp(event: *) |
|
| public |
Process filter |
|
| public |
registerIFilterControl(iFilterControl: *) Resgister a filter control component |
|
| public |
Remove all filter controls |
|
| public |
setFilterFocus(fld: *): * |
|
| public |
setFilterValue(column: flexiciousNmsp.FlexDataGridColumn, value: Object) Set filter value to column |
|
| public |
setFocusOnChild(child: *) set focus on its child component |
|
| public |
unRegisterIFilterControl(iFilterControl: *) Unresgister a filter control component |
|
Inherited Summary
| From class TypedObject | ||
| public |
typeCache: {} |
|
| public |
|
|
| public |
Returns a list of strings that represent the object hierarchy for this object. |
|
| public |
implementsOrExtends(name: *): Boolean Returns true if the class name to check is in the list of class names defined for this class. |
|
Public Constructors
public constructor(iEventDispatcher: *) source
Override:
TypedObject#constructorParams:
| Name | Type | Attribute | Description |
| iEventDispatcher | * |
Public Methods
public getClassNames(): string source
Returns a list of strings that represent the object hierarchy for this object.
Override:
TypedObject#getClassNamespublic getFilterExpression(iFilterControl: *): flexiciousNmsp.FilterExpression source
Get filter expression from filter control
Params:
| Name | Type | Attribute | Description |
| iFilterControl | * |
Return:
| flexiciousNmsp.FilterExpression |
public getFilterValue(column: flexiciousNmsp.FlexDataGridColumn): Object source
Get filter value from column
Params:
| Name | Type | Attribute | Description |
| column | flexiciousNmsp.FlexDataGridColumn |
public getNextFocusableFilter(myIndex: Number, forward: Boolean, inclusive: Boolean): * source
Returns next focusable filter
Return:
| * |
public hasField(column: flexiciousNmsp.FlexDataGridColumn): Boolean source
Check whether filter control search field belongs to this column or not
Params:
| Name | Type | Attribute | Description |
| column | flexiciousNmsp.FlexDataGridColumn |
public isIFilterControlRegistered(iFilterControl: *): * source
Check whether filter control component already resgister or not
Params:
| Name | Type | Attribute | Description |
| iFilterControl | * |
Return:
| * |
public kill() source
public onChangeHandler(event: *) source
Params:
| Name | Type | Attribute | Description |
| event | * |
public onKeyUp(event: *) source
Params:
| Name | Type | Attribute | Description |
| event | * |
public registerIFilterControl(iFilterControl: *) source
Resgister a filter control component
Params:
| Name | Type | Attribute | Description |
| iFilterControl | * |
public setFilterFocus(fld: *): * source
Params:
| Name | Type | Attribute | Description |
| fld | * | The string to match the searchField property of the filter control with. |
Return:
| * | True if focus was set, false if otherwise.
Focus may not be set if the given search field does not exist, |
public setFilterValue(column: flexiciousNmsp.FlexDataGridColumn, value: Object) source
Set filter value to column
Params:
| Name | Type | Attribute | Description |
| column | flexiciousNmsp.FlexDataGridColumn | ||
| value | Object |
public setFocusOnChild(child: *) source
set focus on its child component
Params:
| Name | Type | Attribute | Description |
| child | * |
public unRegisterIFilterControl(iFilterControl: *) source
Unresgister a filter control component
Params:
| Name | Type | Attribute | Description |
| iFilterControl | * |