Multiview refresh

I have a scenario where the multiview needs to be refresh upon resize/rotate, so that the view will be updated. I was able to do it with onresize and onrotate events for current view. But how do I apply to all views already in a multiview?.

Tried with getChildViews, but the refresh goes on endless loop.

Any help on this?

bump

Did you mean that refresh() call causes endless loop ? Could you provide an example of the code you try to call ?

For example, if the multiview contains template view, where their child component’s position are based on the width and height of the window. How do I refresh all views when the window is resized or rotated?.

Webix does not provide API to manipulate sizes of elements inside template. You can call refresh() method to redraw a template view.