/** Generate smart table row title and filters @public */
public generateTableColumn(): void {
this.columnList = {
- identifier: { title: this.translateService.instant('IDENTIFIER'), width: '25%', sortDirection: 'asc' },
+ identifier: { title: this.translateService.instant('IDENTIFIER'), width: '25%' },
VNFD: {
title: this.translateService.instant('VNFD'), width: '20%', type: 'custom',
valuePrepareFunction: (cell: VNFInstanceData, row: VNFInstanceData): VNFInstanceData => row,
},
MemberIndex: { title: this.translateService.instant('MEMBERINDEX'), width: '15%' },
NS: { title: this.translateService.instant('NS'), width: '20%' },
- CreatedAt: { title: this.translateService.instant('CREATEDAT'), width: '15%' },
+ CreatedAt: {
+ title: this.translateService.instant('CREATEDAT'), width: '15%', sortDirection: 'desc',
+ compareFunction: this.sharedService.compareFunction
+ },
Actions: {
name: 'Action', width: '5%', filter: false, sort: false, type: 'custom',
title: this.translateService.instant('ACTIONS'),