Constructor Summary
Public Constructor | ||
public |
constructor(tf: TableFilter) Creates an instance of CheckList |
Member Summary
Public Members | ||
public |
Text placed in the filter's container when load filter on demand feature is enabled |
|
public |
Css class for the container of the checklist filter (div) |
|
public |
List of container DOM elements |
|
public |
Css class for a disabled item of a checklist (li) |
|
public |
Enable the reset filter option as first item |
|
public |
excludedOpts: *[] |
|
public |
Css class for the checklist filter element (ul) |
|
public |
|
|
public |
isCustom: * |
|
public |
Css class for the item of a checklist (li) |
|
public |
opts: *[] |
|
public |
optsTxt: *[] |
|
public |
Css class for a selected item of a checklist (li) |
Method Summary
Public Methods | ||
public |
Build checklist UI |
|
public |
destroy() Destroy CheckList instance |
|
public |
Get filter values for a given column index |
|
public |
Initialize checklist filter |
|
public |
Refresh all checklist filters |
|
public |
selectOptions(colIndex: Number, values: Array) Select filter options programmatically |
Inherited Summary
From class Feature | ||
public |
TableFilter configuration |
|
public |
TableFilter emitter instance |
|
public |
TableFilter feature setting |
|
public |
Feature name is the camelised class name as per TableFilter's convention |
|
public |
Field indicating whether Feature is initialized |
|
public |
TableFilter instance |
|
public |
destroy() Destroy the feature |
|
public |
disable() Disable the feature |
|
public |
enable() Enable the feature |
|
public |
init() Initialize the feature |
|
public |
Indicate whether the feature is enabled or not |
|
public |
reset() Reset the feature after being disabled |
From class BaseDropdown | ||
public |
Filter options custom sorter on a column basis |
|
public |
isValidLinkedValue(rowIdx: Number, activeFilterIdx: Number): Boolean Check passed row contains a valid linked value |
|
public |
Refresh linked filters to offer only selected options |
Public Constructors
public constructor(tf: TableFilter) source
Creates an instance of CheckList
Override:
BaseDropdown#constructorParams:
Name | Type | Attribute | Description |
tf | TableFilter | TableFilter instance |
Public Members
public activateText: String source
Text placed in the filter's container when load filter on demand feature is enabled
public excludedOpts: *[] source
public initialized: boolean source
Field indicating whether Feature is initialized
Override:
Feature#initializedpublic isCustom: * source
public opts: *[] source
public optsTxt: *[] source
Public Methods
public getValues(colIndex: Number): Array source
Get filter values for a given column index
Params:
Name | Type | Attribute | Description |
colIndex | Number | Column index |
public init(colIndex: Number, isExternal: Boolean, container: DOMElement) source
Initialize checklist filter