@if (captionBox) { } @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 (col.type === "thumbnail") {
@if (item[col.field]) { }
} @else if (getTemplate(col)) { } @else if (col.canCopy) { } @else { {{ getCell(item, col) }} } } @if (actionsCount()) { } @if (expandable) { }
@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 if (col.type === "thumbnail") {
@if (item[col.field]) { }
} @else if (getTemplate(col)) { } @else if (col.canCopy) { } @else { {{ getCell(item, col) }} } }
} @else {
@for (col of expandColumns; track $index) { }
}
} @for (i of [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]; track i) { @for (col of columns; track col) { } @if (actionsCount()) { } }
@if (showPaginator) { }