Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cmp.set('v.mycolumns', [
- {label: 'Actions', type: 'action', rowActions: helper.getRowActions.bind(this, cmp) },
- {label: 'Opportunity name', fieldName: 'opportunityName', type: 'text'},
- {label: 'Confidence', fieldName: 'confidence', type: 'percent', cellAttributes:
- { iconName: { fieldName: 'trendIcon' }, iconPosition: 'right' }},
- {label: 'Amount', fieldName: 'amount', type: 'currency', typeAttributes: { currencyCode: 'EUR'}},
- {label: 'Contact Email', fieldName: 'contact', type: 'email'},
- {label: 'Contact Phone', fieldName: 'phone', type: 'phone'}
- ]);
Add Comment
Please, Sign In to add comment