AlternateRows
Extends:
Rows with alternating background color for improved readability
Constructor Summary
Public Constructor | ||
public |
constructor(tf: Object) Creates an instance of AlternateRows. |
Member Summary
Public Members | ||
public |
Css class for even rows (default: 'even') |
|
public |
|
|
public |
Css class for odd rows (default: 'odd') |
Method Summary
Public Methods | ||
public |
destroy() Removes all alternating backgrounds |
|
public |
init() Sets alternating rows color |
|
public |
Apply background to all valid rows |
|
public |
processRow(rowIdx: Number, arrIdx: Number, isValid: Boolean) Set/remove row background based on row validation |
Inherited Summary
From class Feature | ||
public |
TableFilter configuration |
|
public |
TableFilter emitter instance |
|
public |
TableFilter feature setting |
|
public |
Feature name |
|
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: Object) source
Creates an instance of AlternateRows.
Override:
Feature#constructorParams:
Name | Type | Attribute | Description |
tf | Object | TableFilter instance |
Public Members
public initialized: boolean source
Field indicating whether Feature is initialized