ui of common helpers, Methods Webix Docs
object|stringobject or id of parent component replacement
object|string|numberobject/id of the component being replaced, or index at which a new component will be inserted among the parent's children
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.
Note that the third parameter passed as index is applied only to the layout and layout-like views. It defines the position where a new component or control will be inserted among the children of the parent component. It works the same as the index parameter of the addView() method of the layout-like widgets. Check the details.
See also
Back to top