excel - Formatter parameter passes as null -


i trying export table data excel sheet. works ok without formatter. have format cells before converting table excel. i'm debugging code. formatter function's parameter passes null value. here code:

var oexport = new sap.ui.core.util.export({    exporttype: new sap.ui.core.util.exporttypecsv({     separatorchar: ";"   }),    models: this.getview().getmodel(),    rows: {     path: "/faaliyetservisiset"   },    columns: [{       name: "kişi",       template: {         content: "{klnad}"       }     }, {       name: "faaliyet",       template: {         content: "{falyt}"       }     }, {       name: "süre",       template: {         content: {           parts: ["sure"],           formatter: function(ovalue) { // ovalue null that's problem !!!!!!!               ovalue = ovalue + 2;             return ovalue;           }         }        }     }, {       name: "proje",       template: {         content: "{proje}"       }     },    ] }); 

i´m facing similar issue in data binding use cases. formatter function gets called initial data binding value can null or undefined. circumvent issue ignoring calls of formatter function simple null , undefined checks.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -