@if (captionBox) { }
@if (expandable) { } @if (showIndex) { } @for (col of columns; track col.header) { {{ col.header }} } @if (actionsCount()) { }
@if (expandable) { } @if (showIndex) { {{ i * (currentPage || 1) + 1 }} } @for (col of columns; track col.field) { } @if (actionsCount()) { }
@if (expandable && expandColumns && expandableItemKey) {
@if (item[expandableItemKey]?.length) {
@for (col of expandColumns; track col.header) { {{ col.header }} }
@for (col of expandColumns; track col.field) { {{ item.name }} @if (col.type === "index") { {{ i * (currentPage || 1) + 1 }} } @else { } }
} @else {
@for (col of expandColumns; track $index) { }
}
}
@for (i of [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]; track i) {
@if (showIndex) { } @for (col of columns; track col) { } @if (actionsCount()) { }
} @if (showPaginator) { }