I would like to show/hide some icons according to the current multiview. I can use batch option, but some icons may be repeating on all views, some may not. Is there a way to define onBeforeShow for toolbar?. or onbeforeshow batch?
onBeforeShow
is supported only by the window-based components (popup, suggest, submenu).
It is possible to show multiple batches at a time. showBatch
has a second parameter (boolean). If it set to true
, previously shown batch stays visible: