why not
formatter.test() var displayColor = this.evaluateColorFormat(DLAPrice, proposedPrice);
Hi,
Can you paste your entire Formatter. I solved your problem like this :
MyFormatter:
jQuery.sap.declare("model.formatter"); model.formatter = { testFunc:function(a,b) { console.log('called'); model.formatter.testFunc2(); }, testFunc2: function () { console.log('called func 2'); } };
And call in my Controller is same as yours :
this.formatter.testFunc.apply(this);
Add comment