problem with modals, viewport and layout

To solve the problem with the partial grey in modal windows, I include all my content in a div (myCongress) and set the window as:



dhxWins.enableAutoViewport(false);

dhxWins.attachViewportTo(“myCongress”);



But if there is a layout inside myCongress, it won’t appear with enableAutoViewport(false); the layout do appear if enableAutoViewport(true), but then partial grey happens.



What can I do?

Thanks.


Hello,


could you please provide the sample code of layout and windows initialization to recreate the issue.