I have some screens where i dont need breadcrumps. Can i hide it.
I found the global way of doing it from application properties but not specific to a screen
Hello!
You can try the following code:
@Subscribe
public void onAfterShow(final AfterShowEvent event) {
com.vaadin.ui.Component unwrappedWindow = getWindow().unwrapComposition(com.vaadin.ui.Component.class);
TabWindowContainer windowContainer = (TabWindowContainer) unwrappedWindow.getParent();
if (windowContainer.getBreadCrumbs() != null) {
windowContainer.getBreadCrumbs().setVisible(false);
}
}