This topic is locked

How to open a modal window as exactly like the view-button?

12/23/2020 11:09:23 AM
PHPRunner General questions
W
Wachsmann author

Hello, I want to open a modal window, exactly like the lens-button in the listgrid (like a prototype - without header, footer and menu). Runner.displayPopup doesn't show me the window like the lens-button.
Does somebody has any idea?

Admin 12/23/2020

You have two options here:

  1. Use Runner.displayPopup and add custom CSS to hide header and footer.
  2. Or use something totally custom for this purpose. Check this example for instance:

    https://stackoverflow.com/questions/19576135/how-do-i-open-the-content-from-an-html-page-into-a-dialog-from-another-html-page

W
Wachsmann author 12/24/2020



You have two options here:

  1. Use Runner.displayPopup and add custom CSS to hide header and footer.
  2. Or use something totally custom for this purpose. Check this example for instance:

    https://stackoverflow.com/questions/19576135/how-do-i-open-the-content-from-an-html-page-into-a-dialog-from-another-html-page


Thank you very much for working for us day and night, Sergey! I have now solved it with a custom button, which triggers a click on the magnifying glass. The function should actually already exist. The magnifying glass does it too. But I'll try your suggestion too.
Merry Christmas from Germany (by the way, your videos on Youtube are great and very helpful)