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

Customized Pop up modal and CSS
Hi All,
I would like to do the following. Show a few records in lightning component. When the user clicks on any record a pop up modal should open that shows couple of fields from the record detail page. Then show a image.
But everything that’s shown in the modal must have custom c s s . Like background of the modal must be blue instead of white and then different font etc.
can we design a lightning component like this? Any help is highly appreciated!
Thanks,
Raghu
I would like to do the following. Show a few records in lightning component. When the user clicks on any record a pop up modal should open that shows couple of fields from the record detail page. Then show a image.
But everything that’s shown in the modal must have custom c s s . Like background of the modal must be blue instead of white and then different font etc.
can we design a lightning component like this? Any help is highly appreciated!
Thanks,
Raghu
Please find the sample code below and tweak it as per the requirement which should help you start further with the above task.
Visual Force Page: Apex Controller: Also, you can use jQuery and dialog. Documentation here.
Within the parent div of the dialog, you can use an apex:datatable.
Hope this helps.
Kindly mark this as solved if the reply was helpful so that it gets removed from the unanswered queue which results in helping others who are encountering a similar issue.
Thanks,
Nagendra
I am looking for the solution in Lightning Component and not Visualforce Page.
Thanks for responding!