You need to sign in to do that
Don't have an account?
teena jacob
How to display response value in modal pop window in salesforce lightning component.
Hi,
I have created a lightning component with a model pop window on button click function. When I click the button pop will open and calls a method in apex controller and will get the response(list of events) in the same lighting component. I need to show the result in the same popup box.
How can I able to achieve this, Any suggestion on how to resolve.
Thank you,
Teena Treesa
I trust you are doing very well.
Below is the sample code which I have tested in my org and it is working fine. Kindly modify the code as per your requirement.
If you click on Show PopUp button, related contacts (from server controller) will display in Popup box.
Component:
Controller:
CSS:
Apex 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 future.
Thanks and Regards,
Khan Anas
All Answers
I trust you are doing very well.
Below is the sample code which I have tested in my org and it is working fine. Kindly modify the code as per your requirement.
If you click on Show PopUp button, related contacts (from server controller) will display in Popup box.
Component:
Controller:
CSS:
Apex 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 future.
Thanks and Regards,
Khan Anas