Constructor Summary
Public Constructor | ||
public |
constructor(tf: TableFilter) Creates an instance of RowsCounter |
Member Summary
Public Members | ||
public |
Css class for container element |
|
public |
Separator symbol appearing between the first and last visible rows of current page when paging is enabled. |
|
public |
|
|
public |
Callback fired after the counter is refreshed |
|
public |
Callback fired before the counter is refreshed |
|
public |
Separator symbol appearing between the first and last visible rows of current page and the total number of filterable rows when paging is enabled. |
|
public |
ID of custom container element |
|
public |
Text preceding the total number of rows |
|
public |
Default position in toolbar ('left'|'center'|'right') |
Method Summary
Public Methods | ||
public |
destroy() Remove feature |
|
public |
init() Initializes RowsCounter instance |
|
public |
Refreshes the rows counter |
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 RowsCounter
Override:
Feature#constructorParams:
Name | Type | Attribute | Description |
tf | TableFilter | TableFilter instance |
Public Members
public fromToTextSeparator: String source
Separator symbol appearing between the first and last visible rows of current page when paging is enabled. ie: Rows: 31-40 / 70
public initialized: boolean source
Field indicating whether Feature is initialized