Closed jonathanduperrier closed 3 months ago
Hi Jonathan,
you've made a small mistake in your TS code by nesting two data-tables.
Please use only the following code. Then it should works.
<h1 class="mat-headline">{{ '#LDS#Identities' | translate }}</h1>
<imx-data-source-toolbar
#dst
[settings]="dstSettings"
(navigationStateChanged)="onNavigationStateChanged($event)"
></imx-data-source-toolbar>
<imx-data-table [dst]="dst" mode="manual">
<imx-data-table-column [entityColumn]="schema?.Columns[DisplayColumns.DISPLAY_PROPERTYNAME]">
<ng-template let-item>
<div>{{ item.GetEntity().GetDisplay() }}</div>
<div>{{ item.IdentityType.Column.GetDisplayValue() }}</div>
</ng-template>
</imx-data-table-column>
<imx-data-table-column [entityColumn]="schema?.Columns.DefaultEmailAddress">
<ng-template let-item>
<div>{{ item.DefaultEmailAddress.Column.GetDisplayValue() }}</div>
</ng-template>
</imx-data-table-column>
</imx-data-table>
<imx-data-source-paginator [dst]="dst"></imx-data-source-paginator>
I've tested the attached code sample and it works for me.
Thank you it was just a small mistake.
Hello,
When we add a new component as explained in the tutorial video https://www.youtube.com/watch?v=zSSpul8Ez6g&list=PL242czeZwlAmhFqcLZP6KwlUiro6YWdI9&index=11
we have an error message (Could not find column with id "__Display")
The video #11 which show how to create a new page and get information of users.
We copied the same code as in sample-identities component.
When we try to display data of users we get this error message (Could not find column with id "__Display").
Even if the column “__Display” exist in “this.dstSettings.dataSource.Data” element as you can see from the screenshots.
The video of tutorial: https://www.youtube.com/watch?v=zSSpul8Ez6g&list=PL242czeZwlAmhFqcLZP6KwlUiro6YWdI9&index=11
Best regards
sample-identities.component.html
sample-identities.component.ts
Screenshot with issue:
![Capture d’écran 2024-04-02 170817](https://github.com/OneIdentity/IdentityManager.Imx/assets/10153001/96c7dc6a-4e8f-4114-94c0-7858d8d03be7)