View isolaton

$$ and item.$$ returns different objects (with “isolate:true”). item.$$ looses some properties, so I cannot attach context menu to the view.

– Not works
https://jsfiddle.net/6784fpp1/3/

– Works
https://jsfiddle.net/6784fpp1/2/

May be because item.$$ cannot find child by it’s id, only by container id
https://jsfiddle.net/6784fpp1/5/

I can confirm the issue.

The problem is related to replacing a view with in an isolated layout with a new one. After such an update item.$$ is not reliable anymore.

Fix will be included in the next update.

I have similiar problem.
http://webix.com/snippet/fc3af3e0
Parent view don’t have ‘$$’ method. And I can’t access to picker field.

isolate:true don’t work for windows?
var picker = $$(‘picker’); works;

We will add support of “isolate” properties to Window and Popup in webix 3.1

It looks like the isolate property wasn’t added to the window and/or popup in webix 3.1. Currently we’re at v3.3.13 and there is no sign of the isolate property being supported for these components.

Please add this functionality as we have good use for this. Our projects are set up in a way that we do not know on what pages the pop-ups are added. This results in the possibility of colliding ID’s.

Currently we handle this by setting the layout in the body of the popup to isolate: true, however this is not a long term solution as it requires naming that layout as well as the pop-up.

Currently:
$$(‘myPopup’).show();
$$(‘myPopupLayout’).$$(‘someComponent’)

I’d rather:
$$(‘myPopup’).show();
$$(‘myPopup’).$$(‘someComponent’);