How to show "wait" overlay while pivot is setting new structure

In some cases, setting a new pivot structure can take more than a few seconds.
Because of this, I want to show an overlay (with a message) to prompt the user to wait while it’s working.

I can’t seem to find the “start” and “end” events which I can attach to for showing and hiding the overlay.

Is there a way to achieve this? Thanks in advance…

When the new structure is applied to Pivot, loading-related events is called for the inner datatable (available as $$(“pivot”).$$(“data”)).

I can suggest you use the Pivot’s onViewInit and onAfterLoad of inner datatable. Datatable’s onBeforeLoad will suit as well for showing the overlay.

https://webix.com/snippet/61916132