Opens the element with the passed id
id | id | the item id |
webix.ui({
rows: [
{
id: 'grouplist',
view: 'grouplist',
// other parameters
},
{
view: 'button',
value: 'showItem',
click: function () {
$$('grouplist').setOpenState(1);
},
},
],
});
Sets the state of view in which the last opened element will have the passed id. If the element has no children, then its parent will be opened.
Back to top