Hi guys,
maybe the answer is easy but I can't found if the Smartfilter bar is open or not.
The xml code is that :
<f:DynamicPage title="{i18n>appTitle}" showNavButton="false" enableScrolling="false" id="ganttPage"> <f:title> <f:DynamicPageTitle id="titlePanel"> <f:heading> <sv:SmartVariantManagement id="__SVM01" persistencyKey="zvariant_variant" showShare="true" showExecuteOnSelection="true"/> </f:heading> <f:snappedContent> <m:Text id="statusText"></m:Text> </f:snappedContent> </f:DynamicPageTitle> </f:title> <f:header> <f:DynamicPageHeader id="headerPanel"> <f:content> <smartFilterBar:SmartFilterBar id="smartFilterBar" persistencyKey="zvariant_filterbar" smartVariant="__SVM01" useToolbar="false" entitySet="ZPD_FILTERBAR_C" considerSelectionVariants="true" assignedFiltersChanged="onAssignedFiltersChanged"> <smartFilterBar:controlConfiguration> </smartFilterBar:controlConfiguration> <smartFilterBar:groupConfiguration> <smartFilterBar:GroupConfiguration key="LineItems" label="{i18n>GROUP_LABEL}"></smartFilterBar:GroupConfiguration> </smartFilterBar:groupConfiguration> <smartFilterBar:layoutData> <m:FlexItemData shrinkFactor="0"/> </smartFilterBar:layoutData> </smartFilterBar:SmartFilterBar> </f:content> </f:DynamicPageHeader> </f:header> etc....
I want to know if it is in this open status
or close :
I'm using this event for change the status of smartfilter bar but I need use it only when It's open :
this.getView().byId("headerPanel").fireEvent("_headerVisualIndicatorPress");
cloud you help me to found the correct property ?
Thanks you