
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Passing to method geticon in SAPUI5
SAP UI supports custom formatter functions. formatter="function" is used to specify a function to format cell data prior to display.
formatter="function"
Try using formatter function as below −
icon : { parts : ["answer"], formatter : function(answerValue){ return self.getIcon(answerValue); } }
Refer below link to know more about custom formatter functions −
https://sapui5.hana.ondemand.com/#/topic/07e4b920f5734fd78fdaa236f26236d8
Advertisements