We are using a custom theme in our application. The design asks for two types of dialog windows: one with a regular (styled as we desire) and one without the header.
Unfortunately there is no way that I’ve found to programmatically to access the container DIV of the dialog window.
Ideally I’d like to be able to add css to the
<div class="v-window-outerheader"> ...</div>
of the dialog window to optionally hide the header depending on the dialog type to be shown.
Hi Gleb
Thanks for the the quick response. In this case i’m using openWindow.
I actually found an approach that works based on a technique described in the issue below to get access to the underlying Vaadin dialog window.
Is there a better approach that you’d like to recommend? Is there a better way to know that I’m at the right parent level window without having to go all the way up the chain?