# SiDatatableInteractionDirective documentation

**Kind:** directive

**Selector:** `ngx-datatable[siDatatableInteraction]`

**Exported as:** `si-datatable-interaction`

```
import { SiDatatableInteractionDirective } from '@siemens/element-ng/datatable';
```

```
directive SiDatatableInteractionDirective implements OnDestroy, OnInit
```

#### Input Properties

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| [datatableInteractionAutoSelect](<https://github.com/siemens/element/blob/main/projects/element-ng/datatable/si-datatable-interaction.directive.ts#L44-L44>) | `boolean` | `false` | Automatically select every row or cell that is navigated trough. Is ignored unless `selectionType` is `single` or `cell`. |
