packages/ecl/components/ecl-table/ecl-table.directive.ts
Directive for styling and managing behavior of ECL tables.
Applies ECL-specific table classes and emits sort events when columns are sorted.
DoCheck
OnDestroy
OnInit
AfterContentInit
| Selector | [eclTable] |
Properties |
Methods |
Inputs |
Outputs |
HostBindings |
Accessors |
constructor()
|
| id |
Type : string
|
|
The HTML ID attribute of the table. If not provided, a UUID is generated. |
| isSimple |
Type : boolean
|
Default value : false
|
|
Applies the "simple" table variant if true. Automatically enabled if no header is detected. |
| isZebra |
Type : boolean
|
Default value : false
|
|
Applies zebra striping to the table rows by adding the |
| class |
Type : string
|
| e2eAttr |
Type : any
|
| tabindex |
Type : number
|
| sort |
Type : EventEmitter
|
|
Emits an event when a column sort is triggered. |
| class |
Type : string
|
|
Computed list of CSS classes for the host element. |
| getCssClasses | ||||||
getCssClasses(rootClass: string)
|
||||||
|
Parameters :
Returns :
string
|
| eclTableHeaders |
Type : QueryList<EclTableHeaderDirective>
|
Decorators :
@ContentChildren(undefined, {descendants: true})
|
|
List of header directives detected in the content. |
| cssClasses |
getcssClasses()
|
|
Computed list of CSS classes for the host element.
Returns :
string
|