Hi. Is isolate supposed to work with windows? I’ve used it in a previous application in a custom component based on ui.layout but for some reason, in this new application I’m making, using it with a custom component based on ui.window, it doesn’t seem to work.
Snippet with example: http://webix.com/snippet/61418243
Am I missing something or does isolate just not work with window?
Hi,
The isolate
property works only for the following components:
- Accordion,
- Form,
- Layout and Headerlayout,
- Portlet,
- Tabview,
- Toolbar
- SpreadSheet
So if I have multiple instances of the same custom window, how do I access and manipulate an element inside each? (in the snippet’s case, the ‘win_template’ template).
The solution I’m going with now is to generate a unique ID on creation and set all components inside the window with that unique ID as a suffix to their own id (ie: creating a window with the ‘win1’ id would make the template’s id become ‘win1_win_template’) and using that even though it doesn’t seem optimal.