import { ChangeDetectionStrategy, Component, input } from '@angular/core' import type { Row, RowData, Table } from '@tanstack/angular-table' import type { features } from './app.component' @Component({ template: ` `, host: { class: 'selection-cell', }, standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, }) export class TableHeadSelectionComponent { // Your component should also reflect the fields you use as props in flexRenderer directive. // Define the fields as input you want to use in your component // ie. In this case, you are passing HeaderContext object as props in flexRenderer directive. // You can define and use the table field, which is defined in HeaderContext. // Please take note that only signal based input is supported. // column = input.required>() // header = input.required>() table = input.required>() } @Component({ template: ` `, host: { class: 'selection-cell', }, standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, }) export class TableRowSelectionComponent { row = input.required>() }