Skip to main content
6 events
when toggle format what by license comment
May 29, 2020 at 17:37 vote accept mackmama
May 29, 2020 at 17:34 comment added mackmama wow. Almost too easy. Just made these changes: const actions = [ { label: 'Edit', name: 'edit' }, { label: 'Delete', name: 'delete' }, ]; const staffingAssignmentColumns = [ {label: 'Title', fieldName: 'Title__c', type: 'pickList'}, {label: 'User', fieldName: 'UserName', Id: 'User__c', type: 'text'}, { type: 'action', typeAttributes: { rowActions: actions, disabled: false }, }, ]; and accounted for the edit/delete events in handleRowAction function. Thanks again
May 29, 2020 at 16:56 comment added mackmama developer.salesforce.com/docs/component-library/bundle/… - yeah just found it. I'll update the solution when I figure it out. Thanks!
May 29, 2020 at 16:54 comment added sfdcfox @SkipVV Look at the lightning-datatable documentation. It shows how to use the actions column.
May 29, 2020 at 16:42 comment added mackmama I guess my question is, where do I find this in the documentation? Does this icon have a name so I can search for it? I had found this: developer.salesforce.com/docs/component-library/bundle/… but it's not being implemented the same way I'm trying to do it.
May 29, 2020 at 16:23 history answered sfdcfox CC BY-SA 4.0