packages/components/eui-table/selectable-row/eui-table-selectable-row.component.ts
Component used internally by eui-table to make a row selectable.
OnInit
OnDestroy
OnChanges
| selector | tr[isDataSelectable] |
| imports |
FormsModule
EUI_INPUT_CHECKBOX
|
| templateUrl | ./eui-table-selectable-row.component.html |
Methods |
|
Inputs |
HostBindings |
Accessors |
| isChecked |
Type : boolean
|
Default value : false
|
|
Wheter the row is selected. |
| isDataSelectable |
Type : DATA
|
|
Data of the row. |
| isKeyboardSelectable |
Type : boolean
|
Default value : false
|
|
Wheter the selection can be done with the keyboard. |
| isSingleSelectable |
Type : boolean
|
Default value : false
|
|
Wheter only one row is selectable. |
| class |
Type : string
|
| Public toggleCheckedState | ||||||||
toggleCheckedState(e: Event)
|
||||||||
|
Handle the change of the selected status.
Parameters :
Returns :
void
|
| cssClasses |
getcssClasses()
|
|
Computes and returns the CSS classes for the component based on its current state.
Returns :
string
|