# EclTableDirective

**Type:** directive



Directive for styling and managing behavior of ECL tables.

Applies ECL-specific table classes and emits sort events when columns are sorted.


**Selector:** `[eclTable]`

## Inputs
- **id**: `string` - The HTML ID attribute of the table. If not provided, a UUID is generated.
- **isSimple**: `boolean` - Applies the "simple" table variant if true. Automatically enabled if no header is detected.
- **isZebra**: `boolean` - Applies zebra striping to the table rows by adding the `ecl-table--zebra` class if true.
- **class**: `string` - 
- **e2eAttr**: `any` - 
- **tabindex**: `number` - 

## Outputs
- **sort**: `EventEmitter` - Emits an event when a column sort is triggered.
