src/smart-developer-tools/session-info/session-info.component.ts
AbstractFormChild
selector | session-info |
styleUrls | ./session-info.component.css |
templateUrl | ./session-info.component.html |
Properties |
|
Methods |
constructor(serviceAdapter: SmartServiceAdapter, smartHttp: SmartHttpService, injector: Injector)
|
||||||||||||
Parameters :
|
handleLayoutChange | ||||||
handleLayoutChange(newLayout: literal type)
|
||||||
Parameters :
Returns :
void
|
height |
Type : number
|
Public serviceAdapter |
Type : SmartServiceAdapter
|
sessionInfo |
Type : any[]
|
<kendo-panelbar *ngIf="!!sessionInfo" [height]="height">
<kendo-panelbar-item *ngFor="let item of sessionInfo" [title]="item.Label">
<ng-template kendoPanelBarContent>
<kendo-grid [data]="item.Entries" [scrollable]="'none'" [resizable]="true">
<kendo-grid-column width="40">
<ng-template kendoGridCellTemplate let-dataItem>
<img [src]="serviceAdapter.imageURI + '/' + dataItem.Image"/>
</ng-template>
</kendo-grid-column>
<kendo-grid-column [title]="item.KeyLabel" field="Key">
<ng-template kendoGridHeaderTemplate>
<p style="font-weight: bold">{{item.KeyLabel}}</p>
</ng-template>
</kendo-grid-column>
<kendo-grid-column [title]="item.DescriptionLabel">
<ng-template kendoGridHeaderTemplate>
<p style="font-weight: bold">{{item.DescriptionLabel}}</p>
</ng-template>
<ng-template kendoGridCellTemplate let-dataItem>
<p>{{dataItem.Description}}</p>
</ng-template>
</kendo-grid-column>
</kendo-grid>
</ng-template>
</kendo-panelbar-item>
</kendo-panelbar>
./session-info.component.css