Hi I have a hybrid app based on oracle JET and I'm using ojlistview to show some dynamic content.
JET version 2.2.0
This dynamic content is actually using a JSON which I'm forming using a sql query results from sqlite database.
Now I wish to refresh the ojlistview but if I simply change the JSON and update the dataSource (
self.dataSource = ko.computed(function () {
return new oj.ArrayTableDataSource(self.mydatafromJSON, {idAttribute: "id"});
});
)
I'm getting the below errors
7 2147483647 2147483647 2147483647 2147483647 gsm|lte level=4
9 19169 D SystemWebChromeClient: file:///android_asset/www/js/libs/oj/v2.2.0/debug/ojlistview.js: Line 981 : Uncaught (in promise) TypeError: Cannot read property 'itemRemoveComplete
9 19169 I chromium: [INFO:CONSOLE(981)] "Uncaught (in promise) TypeError: Cannot read property 'itemRemoveComplete' of null", source: file:///android_asset/www/js/libs/oj/v2.2.0
81)
9 19169 D SystemWebChromeClient: file:///android_asset/www/js/libs/oj/v2.2.0/debug/ojlistview.js: Line 981 : Uncaught (in promise) TypeError: Cannot read property 'itemRemoveComplete
9 19169 I chromium: [INFO:CONSOLE(981)] "Uncaught (in promise) TypeError: Cannot read property 'itemRemoveComplete' of null", source: file:///android_asset/www/js/libs/oj/v2.2.0
81)
9 19169 D SystemWebChromeClient: file:///android_asset/www/js/libs/oj/v2.2.0/debug/ojlistview.js: Line 981 : Uncaught (in promise) TypeError: Cannot read property 'itemRemoveComplete
9 19169 I chromium: [INFO:CONSOLE(981)] "Uncaught (in promise) TypeError: Cannot read property 'itemRemoveComplete' of null", source: file:///android_asset/www/js/libs/oj/v2.2.0
81)
9 19169 D SystemWebChromeClient: file:///android_asset/www/js/libs/oj/v2.2.0/debug/ojlistview.js: Line 896 : Uncaught (in promise) TypeError: Cannot read property 'getItemStyleComplete