Trying to reference table column with a variable, error is variable not defines
Summary
Trying to reference table column with a variable, error is variable not definesContent
Hi,
We are facing issues where we are trying to reference table columns with a variable, Ref : https://www.oracle.com/webfolder/technetwork/jet/jetCookbook.html?component=table&demo=columnAdditionTable
But it is throwing error 'Cols is not defined'
View Model:
require(['knockout', 'ojs/ojbootstrap', 'ojs/ojarraydataprovider', 'ojs/ojknockout', 'ojs/ojtable'],
define(['ojs/ojcore', 'knockout', 'jquery', 'ojs/ojtable'], function(KnockoutTemplateUtils,ko,Bootstrap) {
function viewModel() {
this.cols =ko.observableArray([{"headerText":"job_nm","field":"job_nm"},
{"headerText":"intg_nm","field":"intg_nm"},
{"headerText":"intg_flow_id","field":"intg_flow_id"},