Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

TUTORIALVaadin lets you build secure, UX-first PWAs entirely in Java.
Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Calling javascript synchronously by Enver Haase, 1 week ago
Open a subwindow near a button
In a grid I have one button for each cell. When the user press a button, a subwindow opens. I would like to open the subwindow near the button pressed. Is it possible to get x,y position of the button? I read on this forum about PopupView, but is it possible with Subwindow?
Thank you, Francesco
Last updated on
Currently it's not possible to query component positions from the client.
You could use LayoutClickListeners as a workaround, they provide information about the click position.
Last updated on
You cannot reply to this thread.