0

I am using a lightning button icon in an html table in Salesforce Lightning Component just like the example given in the documentation.

https://developer.salesforce.com/docs/component-library/bundle/lightning:buttonIcon/example

What I want to understand is that Can I show values like edit or delete once I click on the icon? Or do I have to create a custom component for that?

1

You would want to use the lightning-button-menu or lightning:buttonMenu components. These provide an icon choice, a dropdown menu, and events you can respond to when a menu item is used.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.