You need to sign in to do that
Don't have an account?

Checkbox in lightning datatable
I created a lightning component where i have used 4 buttons.My component also consits one datatable with checkbox.Now, I need to implement if checkbox is checked from the datatable then action should perform from the lightning button.
Please help me on this.
Please help me on this.
Greetings to you!
Below is the sample code to delete records from lightning:datatable using the checkbox and button. Kindly modify the code as per your requirement.
Apex:
Component:
Controller:
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
All Answers
Greetings to you!
Below is the sample code to delete records from lightning:datatable using the checkbox and button. Kindly modify the code as per your requirement.
Apex:
Component:
Controller:
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