sapui5 - 过滤 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>
解决方案
推荐阅读
- html - 使位置固定不可滚动
- c# - 在失败时暂停基于计时器的操作
- c - C 中的问题 - scanf() 跳过输入(缓冲区没有问题)
- google-apps-script - 我可以将 HTML 文件附加到 Google 脚本中的变量吗?
- azure - 如何自动将设备与设备模板关联?
- r - R有没有办法为列中列表的每个实例分配一个值?
- android - 如何以编程方式更改进度栏中颜色的其他部分
- go - 设置整个 const 块的类型
- java - VSCode 说我没有 Java 11 或更高版本,即使在安装 jdk13、设置 java.configuration.runtimes、java.home 和 JAVA_HOME 和路径之后
- sql - 计算从子查询返回的值在表中出现的次数?PSQL