Documentation

ui

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

WebixView ui(object config, [object| string parent ,object| string| number replacement ] );

Parameters

configobjectthe view configuration
parent object| stringobject or id of parent component;
replacement object| string| numberobject, id or index of the component being replaced

Returns

WebixViewa view object

See also

Example

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

Details

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

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

Back to top