@if (detailTemplate()) {
|
@if (isExpandable(row)) {
@let expanded = row === expandedElement();
}
|
}
@for (col of columns(); track col.id) {
@if (col.headerTemplate) {
@if (col.type === 'accessor') {
|
} @else {
|
}
} @else if (col.type === 'accessor') {
{{ col.header }}
|
} @else {
{{ col.header }} |
}
@if (col.cellTemplate) {
} @else if (col.type === 'accessor') {
{{ row[col.accessorKey] }}
}
|
}
@if (detailTemplate()) {
@if (row === expandedElement() && detailTemplate(); as tpl) {
}
|
}
@if (detailTemplate()) {
}
@if (this.dataSource.filteredData.length === 0) {