Hi Guys,
How exactly are we to use rowStyleClassFunc in Power Grid, specifically where does the grid look for the function? Considering I am using a custom sql query to get my dataset, table calculations are not available. I have tried below just to see what returns, but no luck.. I know im missing something here, any help greatly appreciated.
function rowStyle(idx, data, field, value, e) {
application.output(data);
//function (idx, data, field, value, e) { return 'myStyle' }).
}
I get this error
angular.js:15567 ReferenceError: rowStyle is not defined
at eval (eval at controller (datasettable.js:232), <anonymous>:1:1)
at controller (datasettable.js:232)
at Object.invoke (angular.js:5141)
at $controllerInit (angular.js:11704)
at nodeLinkFn (angular.js:10517)
at angular.js:10931
at processQueue (angular.js:17945)
at angular.js:17993
at Scope.$digest (angular.js:19112)
at Scope.$apply (angular.js:19500) undefined