首页 > 解决方案 > 过滤 Fiori 中的自定义列

问题描述

我在智能表中放置了自定义列。它应该在列上有排序和过滤选项,但它不起作用。

有任何想法吗?

<smartTable:smartTable entityset="foo">
 <ui:Table>
  <ui:columns>
   <ui:Column>
    <ui:CustomData>
     <core:CustomData key="p13Data" value='\{"columnKey": "key", "columnIndex":"0", "leadingProperty":"key", "isCurrency":"true", "sortProperty":"key", "filterProperty":"key" }'/>
    </ui:CustomData>
    <Text text="Column name"/>
    <ui:template>
     <HBox>
      <Text renderWhitespace="true" text="{key} "/>
      <core:Icon src="sap-icon://warning" visible={= ${key} === 'XX' ? true : false }> </core:Icon>
     </HBox>
    </ui:template>
   </ui:Column>
  </ui:columns>
 </ui:Table>
</smartTable:smartTable>

标签: sapui5sap-fiori

解决方案


推荐阅读