Put me on the right direction on how to make such behaviour. I wanna create main menu and by clicking on menu items different windows should apear on the desktop. I made a snippet http://webix.com/snippet/294baa14. But it works not like I expected. The window and datatable preloaded even if I dont click on the button. I need to create the window and fill it with data after I clicked menu button. Thanks in advance!
The ui will be created only after webix.ui call.
In your case it will be after calling the “add” function. Before that moment, window and table is not available ( not created )
If you want to load the config dynamically, check Dynamic UI Modifications of Guides, Configuring Components Webix Docs
Also, be sure to check
Maksim, that’s strange cause when i load my web app in firebug at the same time I see ajax request from datatable. So the window with datatable is already ready to be shown.
Oops! There was another copy of that webix.ui window in the source code which was the cause of my problem. I removed that code and now it works as you describe. Thanks!