maca88 / datatables.plugins

MIT License
21 stars 5 forks source link

Cannot read property 'Api' of undefined #22

Closed cizgidekiadam closed 8 years ago

cizgidekiadam commented 9 years ago

I'm trying to use dt with model data. when page loads, there was an error: Uncaught TypeError: Cannot read property 'Api' of undefined on line dataTables.angular.js:887

maca88 commented 9 years ago

Hello,

I'm assuming that you want use datatables with angular. Here is a simple example how to bind a collection to the table.

wagnerdelima commented 8 years ago

I cannot figure out how to solve that issue. Any help?

maca88 commented 8 years ago

Did you included dataTables.js before dataTables.angular.js in your page?

wagnerdelima commented 8 years ago

I did. Actually I resolved the problem by getting the documentation of datatables straight. Thank you @maca88