嗨,我在实现智能过滤器栏时遇到错误。
代码供您参考:
<smartFilterBar:SmartFilterBar id="smartFilterBar" entitySet="Projects" persistencyKey="SmartFilter_Explored">
<smartFilterBar:controlConfiguration>
<smartFilterBar:ControlConfiguration key="Bukrs">
<smartFilterBar:defaultFilterValues>
<smartFilterBar:SelectOption low="0001"></smartFilterBar:SelectOption>
</smartFilterBar:defaultFilterValues>
</smartFilterBar:ControlConfiguration>
</smartFilterBar:controlConfiguration>
</smartFilterBar:SmartFilterBar>
<smartTable:SmartTable id="artiT" entitySet="Projects"
tableBindingPath="{path: 'base>/Projects', filters: [{path: 'Archieved', operator: 'EQ', value1: false}] , parameters: {expand:'RegionCountryDetails,SkillSetDetails'}}"
smartFilterId="smartFilterBar" tableType="ResponsiveTable" useExportToExcel="true" beforeExport="onBeforeExport"
useVariantManagement="false" useTablePersonalisation="true" header="Projects" showRowCount="true"
persistencyKey="SmartTableAnalytical_Explored" enableAutoBinding="true" demandPopin="true" class="sapUiResponsiveContentPadding"
initiallyVisibleFields="ProjectId,Name,City,StartDate,EndDate,TeamSize" beforeRebindTable="onBeforeRebindTable" showFullScreenButton="true"/>