Constructor Summary
Public Constructor | ||
public |
constructor(tf: TableFilter) Creates an instance of PopupFilter |
Member Summary
Public Members | ||
public |
Active filter icon path |
|
public |
Ensure filter's container element width matches column width, enabled by default |
|
public |
Close active popup filter upon filtering, enabled by default |
|
public |
Css class assigned to filter container element |
|
public |
HTML for the filter icon |
|
public |
Filter icon path |
|
public |
|
|
public |
Callback fired after a popup filter is closed |
|
public |
Callback fired after a popup filter is opened |
|
public |
Callback fired before a popup filter is closed |
|
public |
Callback fired before a popup filter is opened |
|
public |
Css class assigned to the popup container element |
Method Summary
Public Methods | ||
public |
Build a specified pop-up filter elements |
|
public |
buildAll() Build all pop-up filters elements |
|
public |
Build all filters icons |
|
public |
changeState(colIndex: Number, active: Boolean) Apply specified icon state |
|
public |
Close popup filter of specified column |
|
public |
Close all filters excepted for the specified one if any |
|
public |
destroy() Remove pop-up filters |
|
public |
init() Initialize DOM elements |
|
public |
Check if popup filter for specified column is open |
|
public |
Open popup filter of specified column |
|
public |
reset() Reset previously destroyed feature |
|
public |
Build all the icons representing the pop-up filters |
|
public |
Toggle visibility of specified filter |
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 |
Public Constructors
public constructor(tf: TableFilter) source
Creates an instance of PopupFilter
Override:
Feature#constructorParams:
Name | Type | Attribute | Description |
tf | TableFilter | TableFilter instance |
Public Members
public adjustToContainer: Boolean source
Ensure filter's container element width matches column width, enabled by default
public closeOnFiltering: Boolean source
Close active popup filter upon filtering, enabled by default
public initialized: boolean source
Field indicating whether Feature is initialized
Override:
Feature#initializedPublic Methods
public close(colIndex: Number) source
Close popup filter of specified column
Params:
Name | Type | Attribute | Description |
colIndex | Number | Column index |
public closeAll(exceptIdx: Number) source
Close all filters excepted for the specified one if any
Params:
Name | Type | Attribute | Description |
exceptIdx | Number | Column index of the filter to not close |
public isOpen(colIndex: Number): Boolean source
Check if popup filter for specified column is open
Params:
Name | Type | Attribute | Description |
colIndex | Number | Column index |