Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- permissions: ["api-search-miscellaneous", "api-show-miscellaneous", "api-updatestatus-miscellaneous",…]
- 0: "api-search-miscellaneous"
- 1: "api-show-miscellaneous"
- 2: "api-updatestatus-miscellaneous"
- 3: "api-delete-miscellaneous"
- 4: "api-add-miscellaneous"
- 5: "api-showall-miscellaneous"
- 6: "api-update-miscellaneous"
- this.cols = [
- {
- field: 'name',
- header: this.getLocalTranslation(
- 'Features.gridLabel.featureGroup',
- ),
- },
- {
- field: 'permissions',
- header: this.getLocalTranslation(
- 'Features.gridLabel.functionalities',
- ),
- },
- ];
- <ng-template pTemplate="body" let-rowData let-columns="columns">
- <tr [pSelectableRow]="rowData">
- <td *ngFor="let col of columns">
- {{ rowData[col.field] }}
- </td>
- </tr>
- </ng-template>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement