You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: Cannot convert undefined or null to object
at _doRender (angular-datatables.renderer.js:322)
at angular-datatables.renderer.js:312
at processQueue (angular.js:12984)
at angular.js:13000
at Scope.$get.Scope.$eval (angular.js:14200)
at Scope.$get.Scope.$digest (angular.js:14016)
at Scope.$get.Scope.$apply (angular.js:14304)
at done (angular.js:9518)
at completeRequest (angular.js:9703)
at XMLHttpRequest.requestLoaded (angular.js:9646)
It seems the problem is in angular-datatables.renderer.js line 309:
// In case the data is nested in an objectif(renderer.options.sAjaxDataProp){data=result[renderer.options.sAjaxDataProp];}
I'll submit a pull request with a fix for this issue.
The text was updated successfully, but these errors were encountered:
dtychshenko
pushed a commit
to dtychshenko/angular-datatables
that referenced
this issue
Feb 9, 2015
When loading a data table through a promise, the .withDataProp() option does not seem to work with nested objects. For example:
Options:
Data (data-nested.json):
Results in this error:
It seems the problem is in angular-datatables.renderer.js line 309:
I'll submit a pull request with a fix for this issue.
The text was updated successfully, but these errors were encountered: