Open form on click of a button

Hi all,
I’m new to webix and can find a way to open a form onbutton click.

thus far i have

on:{ onItemClick: function(id , e , node){ webix.message(“this is alert” )

what my aim is to open either another page with a from or have the from open as a float.

any ideas?

Hello,
Please check the sample: Code Snippet
Here the form is used inside the body of the ui.window

Thanks @Nastja for something so simple i could not find any reference in any documentation ? Did I miss it ?

You can check this information
https://docs.webix.com/api__ui.button_click_config.html

Here you can find all events, properties, methods of button:
https://docs.webix.com/api__refs__ui.button.html

Information about form:
https://docs.webix.com/desktop__form.html

And also you can check our samples: https://docs.webix.com/samples/

Sample with a form inside ui.window is also here: Windows: Form inside

I hope it will help :slight_smile: