@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) {
}
}