ui

the object constructor. Creates a new instance of the specified view

object ui(object config, [object|string parent,object|string|number replacement] );
configobjectthe view configuration
parentobject|stringobject or id of parent component
replacementobject|string|numberobject, id or index of the component being replaced
objecta view object

Example

var dtable = webix.ui({ view:"datatable", ... });

Related samples

Details

If you want to init a Webix component, only the first parameter is needed.

If you want to rebuild the existing layout or replace some component in it, make use of additional parameters. Read more in the Dynamic UI Modifications article.

See also
Back to top