@if (record === editingRecord()) {
@for (col of displayedColumns(); track col) {
|
@if (isReadOnly(col)) {
{{ record[col] }}
} @else {
}
|
}
|
} @else {
@for (col of displayedColumns(); track col) {
{{ displayValue(col, record[col]) }} |
}
@if (canUpdate()) {
}
@if (isDeleted(record)) {
} @else if (canDelete()) {
}
@if (!isInserted(record)) {
@for (action of recordActions(); track action.action) {
@if (canExecuteAction(action)) {
}
}
}
|
}
}