Given a kendo grid that use a datasource that has as c3function:“retieveBatchLabel”
reteieveBatchLabel is a function I declared into RevenueOpportunity
In the function I create a generic object that contains as fields the result of different fetches on different types.
In order to display the object properly in the kendo grid - should the function declaration expect a return value or not?
Actually I declared
retrieveBatchLabel: function(spec: FetchSpec): js server
and I do a outcomeArray.push(ro);
and within the function I simply do the return of the array of generic objects and in the kendo grid into the “filed” I’ve put the fields of the object. so far the anything show up