How do I anchor a form popup when clicking a button?
I'm having a form popup after clicking a button. However, the form just shows up in the center of the screen. I want it to show up where the user clicked the button. Is there a way of doing that?
- Code: Select all
/**
* @private
*
* @properties={typeid:24,uuid:"B7A2E14D-B371-41A3-9BF9-DE2B900592C2"}
*/
function pop_filterWindow() {
plugins.window.createFormPopup( forms.grid_filter_css ).show()
}
EXAMPLE OF WHAT I WANT TO DO
MODAL
Or is that not possible to do in Servoy, and instead use some type of Modal window instead? What is the best Modal Dialogue for TiNG? Is that JSWindow?