Attach Lightbox to specific Part of DOM
Attach Lightbox to specific Part of DOM
Hello,
I am currently evaluating the Editor Extension for DataTables.
I am having the following Issue: The Pop-up-Modals to add or edit the data work on Desktop but are not centered, and on mobile (with Responsive extension) they are being covered by the rest of the WebApplication.
I believe the issue happens because only 2/3 of the width and 3/4 of the heigth are available for content - the rest is navigation and so on. The Lightbox attaches to the DOM outside of the content div and therfore the 100%-heigth settings are calculated on the base of the wrong div.
Is it possible to change the DIV where the Lightbox attaches?
Best Regards
This question has an accepted answers - jump to answer
Answers
Only by modifying the code. In the Editor code there is:
which could be modified to insert where you need.
The other option is to have a custom display controller.
Regards,
Allan