Hello community, can i call my formatter from my controller? be casue i need to apply a rule for various properties os my view that i send them from the controller, for example:
<GenericTile id="tileCitas" class="myStyle" header="{i18n>HeaderTabCitas}" subheader="" press="getCitas">
<TileContent id="tileFooter" unit="" footer="">
<content>
<NumericContent id="citasContent" scale="" value="" valueColor="Error" />
</content>
</TileContent>
</GenericTile>
controller
oDataModel.read("/tileAsesorInfoSet(Asesor='" + this.varGlob.asesor + "')", {
success: function(oData, response) {
var oResults = response.data;
oModel.refresh(true);
oModel.setData(oResults);
View.byId("citasContent").setValue(oResults.Citas);
View.byId("tileFooter").setFooter(oResults.Nombre)
},
Error: function(oError){
}
});
before i send my value oResults.Citas how can i call a formatter? or is called from the view but i do not know