@if (enableColumnChooser()) {
@if (showChooser()) {
@for (c of columns(); track c.key) { {{ c.label }} @if (_visible().includes(c.key) && _visible().length <= minVisible()) { Min. {{ minVisible() }} } }
}
}

@if (rowActionsTpl && actionsPosition() === 'left') {
} @for (c of effectiveColumns(); track c.key) {
} @if (rowActionsTpl && actionsPosition() === 'right') {
}
{{ actionsHeader() }} | @if (c.sortable) { } @else { {{ c.label }} } | {{ actionsHeader() }}
--- | --- | ---
@for (row of data(); track $index; let i = $index) {
@if (rowActionsTpl && actionsPosition() === 'left') {
} @for (c of effectiveColumns(); track c.key) {
} @if (rowActionsTpl && actionsPosition() === 'right') {
}
| @if (c.cell) { } @else if (c.cellTemplate) { } @else { {{ getNestedValue(row, c.key) }} } |
} @empty {
@if (loading()) { Chargement en cours… } @else { Aucune donnée disponible Essayez de modifier vos filtres ou ajoutez un nouvel enregistrement }
}