Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. permissions: ["api-search-miscellaneous", "api-show-miscellaneous", "api-updatestatus-miscellaneous",…]
  2. 0: "api-search-miscellaneous"
  3. 1: "api-show-miscellaneous"
  4. 2: "api-updatestatus-miscellaneous"
  5. 3: "api-delete-miscellaneous"
  6. 4: "api-add-miscellaneous"
  7. 5: "api-showall-miscellaneous"
  8. 6: "api-update-miscellaneous"
  9.  
  10. this.cols = [
  11. {
  12. field: 'name',
  13. header: this.getLocalTranslation(
  14. 'Features.gridLabel.featureGroup',
  15. ),
  16. },
  17. {
  18. field: 'permissions',
  19. header: this.getLocalTranslation(
  20. 'Features.gridLabel.functionalities',
  21. ),
  22. },
  23. ];
  24.  
  25. <ng-template pTemplate="body" let-rowData let-columns="columns">
  26. <tr [pSelectableRow]="rowData">
  27. <td *ngFor="let col of columns">
  28. {{ rowData[col.field] }}
  29. </td>
  30. </tr>
  31. </ng-template>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement