You need to sign in to do that
Don't have an account?
Service Cloud 60
To get Record id from datatable in lightning component.
Hi,
Can anyone tell me how to get record Id when i click on the checkbox of datatable in lightning component ?
TIA
Can anyone tell me how to get record Id when i click on the checkbox of datatable in lightning component ?
TIA
Greetings to you!
You can use onrowselection event handler. Try like this:
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!
You can use onrowselection event handler. Try like this:
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