@for (headerGroup of table.getHeaderGroups(); track headerGroup.id) {
@for (header of headerGroup.headers; track header.id) {
|
@if (header.isPlaceholder) {
} @else {
@if (header.column.getCanGroup()) {
}
{{ header }}
}
|
}
}
@for (row of table.getRowModel().rows; track row.id) {
@for (cell of row.getAllCells(); track cell.id) {
|
@if (cell.getIsGrouped()) {
{{ cell }}
{{ ' ' }}{{ row.subRows.length.toLocaleString() }}
} @else if (cell.getIsAggregated()) {
{{ aggregatedCell }}
} @else if (cell.getIsPlaceholder()) {
} @else {
{{ cell }}
}
|
}
}
@for (footerGroup of table.getFooterGroups(); track footerGroup.id) {
@for (footer of footerGroup.headers; track footer.id) {
|
@if (!footer.isPlaceholder) {
{{
footerCell
}}
}
|
}
}
{{ table.getRowModel().rows.length.toLocaleString() }} Rows
{{ stringifiedState() }}