can we create two views with the same id, because addView is allowed to call another view with a different id, and ‘copy’ method doesn’t work if we want to display the same view a second time because view’s id is identical. In this case, copy replace just existing view, but doesn’t create a duplicate of original view ? Clone property ?
No, you can’t have two views with equal ids in the same time. You can just do not define ID at all, or use the “ui generator” function.
function getList(){
return {
id: webix.uid(), view:"list"
};
}
some.addView( getList() );
some.addView( getList() );