# EclTableHeaderDirective

**Type:** directive




**Selector:** `[eclTableHeader]`

## Inputs
- **eclSortable**: `any` - Enables sorting on the header. Also sets the `data-ecl-table-sort-toggle` attribute. Acts as the unique identifier for the column when sorting.
- **id**: `string` - HTML `id` attribute of the table header cell. If not provided, a UUID will be generated.
- **scope**: `string` - Scope of the table header. Default is `col`. Sets the `scope` attribute.
- **sortButtonAriaLabel**: `string` - Aria-label for the sort button that will be injected into the header cell.
- **class**: `string` - 
- **e2eAttr**: `any` - 
- **tabindex**: `number` - 

## Outputs
- **sort**: `EventEmitter` - Emits an `EclSortTableEvent` when the header is clicked and sorting is triggered.
