You need to sign in to do that
Don't have an account?
UmeShin
How can we click and call Javascript from icon of lightning datatable?
I wanna call Javascript when I click the icon of datatable like the attached.
How can we call Javascript from datatable icon?
How can we call Javascript from datatable icon?
Greetings to you!
Please try the below code, I have tested in my org and it is working fine. Kindly modify the code as per your requirement.
Component:
Controller:
Apex:
I hope it helps you.
Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.
Thanks and Regards,
Khan Anas