The ld-table-row component is a subcomponent for ld-table.
Please refer to the ld-table documentation for usage examples.
| Property | Attribute | Description | Type | Default | 
|---|---|---|---|---|
| indeterminate | indeterminate | Indicates that the selection state is indeterminate. | boolean | undefined | 
| key | key | for tracking the node's identity when working with lists | string | number | undefined | 
| ref | ref | reference to component | any | undefined | 
| selectable | selectable | Makes the row selectable by adding a checkbox to the start of the row. | boolean | undefined | 
| selected | selected | Indicates that the row is selected. | boolean | undefined | 
| selectionDisabled | selection-disabled | Indicates that the row selection is disabled. | boolean | undefined | 
| selectionLabel | selection-label | Makes the row selectable by adding a checkbox to the start of the row. | string | 'Row selection' | 
| selectionSticky | selection-sticky | In selectable mode the checkbox is sticky by default. | boolean | true | 
| Event | Description | Type | 
|---|---|---|
| ldTableSelect | Emitted with row index and selected state. | CustomEvent<{ rowIndex: number; selected: boolean; }> | 
| ldTableSelectAll | Emitted with selected state. | CustomEvent<{ selected: boolean; }> | 
| Part | Description | 
|---|---|
| "cell" | |
| "checkbox" | the selection checkbox | 
| "row" | the actual tr element | 
| "select" | the selection cell | 
| "selection-wrapper" | the selection wrapper element | 
graph TD;
  ld-table-row --> ld-table-cell
  ld-table-row --> ld-checkbox
  style ld-table-row fill:#f9f,stroke:#333,stroke-width:4pxBuilt with StencilJS