ggmod / angular-2-data-table-demo

Demo application and examples for the Angular 2 data table (https://github.com/ggmod/angular-2-data-table)
MIT License
29 stars 98 forks source link

Cannot read property 'selectedRow' of undefined #11

Open alialrabi opened 7 years ago

alialrabi commented 7 years ago

I have tried to get datatable working but get this error

PathwayDetailComponent.html:1 ERROR TypeError: Cannot read property 'selectedRow' of undefined
at Object.View_PathwayDetailComponent_2.co [as updateDirectives] (PathwayDetailComponent.html:1)
at Object.debugUpdateDirectives [as updateDirectives] (vendor.dll.js:13234)
at checkAndUpdateView (vendor.dll.js:12572)
at callViewAction (vendor.dll.js:12935)
at execEmbeddedViewsAction (vendor.dll.js:12893)
at checkAndUpdateView (vendor.dll.js:12573)
at callViewAction (vendor.dll.js:12935)
at execComponentViewsAction (vendor.dll.js:12867)
at checkAndUpdateView (vendor.dll.js:12578)
at callViewAction (vendor.dll.js:12935)
ShinobiWPS commented 5 years ago

I'm using the version for Angular 4 and I'm getting the same result it's really deal breaking.

ShinobiWPS commented 5 years ago

I found an ugly fix which someone cannot apply: edit the library itself. interested? @alialrabi