RowRenderer
| Generic types: | T |
Interface for custom row renderer. The template root component should be a tr element.
<ng-template #rowRenderer
let-row="row"
let-visibleColumns="visibleColumns"
let-rowOptions="rowOptions"
let-selectedRow="selectedRow"
let-selectRow="selectRow"
>
<tr>
<td *ngFor="let column of visibleColumns">
{{row[column.field]}}
</td>
</tr>
</ng-template>See Also
Properties
| Name | Type | Description |
|---|---|---|
| row | T | Row to render |
| rowOptions | | Provides reference to rowClass and rowStyle factories. |
| selectedRow | Signal<T | null> | A signal to check if current row is selected. |
| selectRow | (row: T) => void | A function to select current row |
| visibleColumns | | List of visible column. It is derived from |

