I get the belwo error when I try to load a table :
ojtable.js:9250 Uncaught (in promise) TypeError: Cannot read property 'showIndicatorDelay' of null
the viewModel has :
var deptArray = [{DepartmentId: '01', DepartmentName: 'ADFPM 1001 neverending', LocationId: 200, ManagerId: 300},
{DepartmentId: '20', DepartmentName: 'BB', LocationId: 200, ManagerId: 300}];
self.deptObservableArray = ko.observableArray(deptArray);
self.dataprovider = new oj.ArrayDataProvider(self.deptObservableArray, {keyAttributes: 'DepartmentId'});
and in html :
<oj-table id="table" aria-label="Departments Table"
data='[[dataprovider]]'
columns-default='{"sortable": "disabled"}'
columns='[{"headerText": "Department Id",
"field": "DepartmentId"},
{"headerText": "Department Name",
"field": "DepartmentName"},
{"headerText": "Location Id",
"field": "LocationId"},
{"headerText": "Manager Id",
"field": "ManagerId"}]'
style='width: 100%; height:100%;'>
</oj-table>
when I run this I do get the columnNames , but I do not get any data displayed by the table , I get the Message "No Data to Display "