in web/src/main/resources/saga-frontend/src/app/pages/transactions/transactionsTable.component.ts [57:128]
setTransactionsTable() {
this.settings = {
pager: {
perPage: 10,
},
add: {
addButtonContent: '<i class="nb-plus"></i>',
createButtonContent: '<i class="nb-checkmark"></i>',
cancelButtonContent: '<i class="nb-close"></i>',
},
edit: {
editButtonContent: '<i class="nb-edit"></i>',
saveButtonContent: '<i class="nb-checkmark"></i>',
cancelButtonContent: '<i class="nb-close"></i>',
},
delete: {
deleteButtonContent: '<i class="nb-trash"></i>',
confirmDelete: true,
},
actions: {
add: false,
edit: false,
delete: false,
position: 'right',
},
columns: {
surrogateId: {
title: 'ID',
filter: true,
sort: true,
editable: false,
width: '5%',
},
serviceName: {
title: 'Service Name',
filter: true,
sort: true,
editable: false,
width: '9%',
type:'custom',
renderComponent: CustomRenderComponent,
},
instanceId: {
title: 'Instance ID',
editable: false,
width: '11%',
},
globalTxId: {
title: 'Global ID',
filter: true,
sort: true,
width: '16%',
editable: false,
type:'custom',
renderComponent: CustomRenderComponent,
},
localTxId: {
title: 'Local ID',
filter: true,
sort: true,
width: '15%',
editable: false
},
compensationMethod: {
title: 'Compensation Method',
editable: false,
width: '20%',
},
},
};
}