angular-2-data-table
angular-2-data-table copied to clipboard
DataTable moduleId is a string
Hello,
if anyone has this problem with Angular 4, just go through a full search and comment out //moduleId: string type lines and it'll still work.
I got it to work with my own custom component after I did this. Thank you for your hard work poster!
i was facing the same issue and when I switch to "angular-4-data-table-bootstrap-4-demo" , it got resolve .
I had the same problem, I had to remove all the lines containing moduleId: module.id
(around 4 instances in various component decorators) and rebuild. I suggest they should be removed by default from dist @MIt9.
For those who are still encountering the error like me, Go to @node_modules/angular-4-data-table/dist/(component.js). And then change moduleId: module.id to moduleId: module.id + "".
Reason is to change moduleId to be string.
For Reference https://stackoverflow.com/questions/45524951/moduleid-should-be-a-string-in-ng2slidercomponent
angular-4-data-table updated with this fix in version 0.4.4