传递给 SAPUI5 中的 geticon 方法
SAP UI 支持自定义格式化程序函数。formatter="function" 用于指定一个函数,以在显示前格式化单元格数据。
formatter="function"
尝试如下使用格式化程序函数 −
icon : {
parts : ["answer"],
formatter : function(answerValue){
return self.getIcon(answerValue);
}
}参考以下链接,了解有关自定义格式化程序函数的更多信息 −
https://sapui5.hana.ondemand.com/1.34.8/docs/guide/07e4b920f5734fd78fdaa236f26236d8.html

广告
数据结构
网络
关系型数据库管理系统
操作系统
Java
iOS
HTML
CSS
Android
Python
C 编程
C++
C#
MongoDB
MySQL
Javascript
PHP