1.

What Is Formatter In Sapui5 And How To Use It?

Answer»

We need to use FORMATTER when we need to PERFORM some changes on the back end PROPERTY data on the front end.

we can use formatter while data binding to a property like as follows:

oControl = new sap.ui.commons.TextField({
value : {PATH : “/path”, formatter : function(oEvent){
return “Value:”+oEvent;
}}});

We need to use formatter when we need to perform some changes on the back end property data on the front end.

we can use formatter while data binding to a property like as follows:

oControl = new sap.ui.commons.TextField({
value : {path : “/path”, formatter : function(oEvent){
return “Value:”+oEvent;
}}});



Discussion

No Comment Found