on 01-05-2018 11:25 AM
Hi,
I am facing an issue in formatter. I have a fucntion inside a formatter. When I call the function, it says " .formatter.checkFunc() not found.!. I have included all necessary files in teh controller. But not able to find the cause of the issue.
View : <Text text="{parts: ['value'], formatter: '.formatter.checkFunc'}"/>
Controller :
sap.ui.define([
"XX/controller/BaseController",
"sap/ui/core/mvc/Controller",
"sap/ui/model/Filter",
"sap/ui/model/FilterOperator",
"XX/model/formatter" ],
function(BaseController, Controller, Filter, FilterOperator,formatter)
{ "use strict"; return BaseController.extend("XXXX.controller.Sourcing",
{
formatter: formatter,
Regards
Karthik S
Hi,
Do you have in your "formatter.js" file a function that you return with the name "checkFunc"?
Is that file located in "XX/model/" as you indicated?
In addition, take a look here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.