Hi Sébastien ,
Thanks for contacting Syncfusion support.
We have checked with your requirement. We suggest you to use the content Template in Dashboard Layout so that your required Iframe content will be made visible.
Refer to the following code
|
<ejs-dashboardlayout id="api_dashboard" #api_dashboard columns="6" [allowResizing]="true" [panels]='panelsData'
[cellSpacing]='cellSpacing'>
<div *ngFor="let title of panels">
</div>
<e-panels>
<ng-container *ngFor="let panel of values">
<e-panel [sizeX]="panel.sizeX" [sizeY]="panel.sizeY" [row]="panel.row" [col]="panel.col"
[header]="panel.header" [content]="panel.content">
<ng-template #content>
<div><iframe id="viewerFrame" frameborder="0" tabindex="1"
style="width: 100%; height: 100%;display:block;"
</ng-template>
</e-panel>
</ng-container>
</e-panels>
</ejs-dashboardlayout>
|
We have modified the sample here for your reference.
Please check with the below links for more details on DashboardLayout component.
Please get back to us if you need any further assistance.
Regards,
Sharon Sanchez S.