Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: Boolean type column in oData services with HANADB

$
0
0

Hi Casper,

 

you can use formatter function in the "bindChecked" method of the CheckBox:

 

 

new sap.ui.commons.CheckBox().bindChecked("ENABLED", function(value) {return value === 1;}),

 

In this example I convert my integer values coming from property "ENABLED" into boolean values that the checkbox "understands".

 

Best regards,

Christian


Viewing all articles
Browse latest Browse all 9165

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>