@if (showToolbar()) {
{{ title }}
@if (!options()?.hideDataDownload) { } @if (isLoading$ | async) {
} @else { }
}
@if (error$ | async) {
🐞 {{ error$ | async }}
} @else {
@for (tableConfig of tablesConfig(); track tableConfig) { @for (column of orderedRowAxes(tableConfig); track column.name + column.caption; let j = $index; let last = $last) { } @if (pivotColumnRowCount > 1 && tableConfig.columnAxes?.[0]) { } @for (column of tableConfig.pivotColumns?.[0] ?? []; track column.name) { } @if (pivotColumnRowCount > 1) { @for (columns of tableConfig.pivotColumns?.slice(1) ?? []; track $index; let i = $index; let last = $last) { @if (tableConfig.columnAxes?.[i + 1]) { } @for (column of columns; track column.name) { } } } @for (row of tableRows(); track row.key ?? $index; let i = $index) { @for (column of orderedRowAxes(tableConfig); track column.name + column.caption; let j = $index; let last = $last) { } @if (bodyLeadingColspan(tableConfig)) { } @for (column of leafColumns(tableConfig); track column.name) { } } @empty { }
@if (column.name === rowTreeProperty()) { } @if (options()?.sortable) { } @else { {{ column.caption || column.name }} } @if (subscribeColumnMembers(column) | async; as members) {
{{ 'Ngm.AnalyticalGrid.SORT' | translate: { Default: 'SORT' } }}
{{ 'Ngm.AnalyticalGrid.MOVE' | translate: { Default: 'MOVE' } }}
@if (subscribeColumnFilteredMembers(column) | async; as members) {
  • {{ 'Ngm.AnalyticalGrid.SelectAll' | translate: { Default: 'Select All' } }}
}
}
@if (tableConfig.columnAxes[0].displayHierarchy) { } {{ tableConfig.columnAxes[0].caption || tableConfig.columnAxes[0].dimension }} @if (options()?.sortable && tableConfig.columnAxes[0].dimension !== C_MEASURES) { @if (tableConfig.columnAxes[0].sortDirection) { } @else { } }
@if (column.expandable) { } @if (pivotColumnRowCount === 1 && options()?.sortable) { } @else {
{{ column.caption || column.name }}
}
@if (tableConfig.columnAxes[i + 1].displayHierarchy) { } {{ tableConfig.columnAxes[i + 1].caption || tableConfig.columnAxes[i + 1].dimension }} @if (options()?.sortable && tableConfig.columnAxes[i + 1].dimension !== C_MEASURES) { @if (tableConfig.columnAxes[i + 1].sortDirection) { } @else { } }
@if (column.expandable) { } @if (last && options()?.sortable) { } @else {
{{ column.caption || column.name }}
}
@if (column.name === rowTreeProperty()) { } @if (column.name === C_MEASURES) {
{{ row['[Measures].[MEMBER_CAPTION]'] || row['[Measures]'] }}
} @else if (column.property?.role !== AggregationRole.measure) { }
@if (column.bar) {
} @if (row[column.name]?.value === null || row[column.name]?.value === undefined) { - } @else if (column.formatting?.currencyCode || options()?.currencyCode) { {{ row[column.name]?.value | currency : column.formatting?.currencyCode || options()?.currencyCode : 'symbol' : column.formatting?.digitsInfo || options()?.digitsInfo }} } @else { @if ((column.formatting?.unit ?? options()?.unit) === '%') { {{ row[column.name].value * 100 | number: column.formatting?.digitsInfo || options()?.digitsInfo || '0.0-2' }} } @else { {{ row[column.name]?.value | number: column.formatting?.digitsInfo || options()?.digitsInfo || '0.0-2' }} } @if (column.formatting?.unit || options()?.unit; as unit) { {{ unit }} } }
{{ 'Ngm.Table.NoData' | translate: { Default: 'No data' } }}
}
} @if (isLoading$ | async) {
}
@if (options()?.paging) { }
{{ 'Ngm.Selection.Slicers' | translate: { Default: 'Slicers' } }}