angular-2-data-table icon indicating copy to clipboard operation
angular-2-data-table copied to clipboard

DataTable moduleId is a string

Open maestroanth opened this issue 7 years ago • 4 comments

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!

maestroanth avatar Sep 08 '17 04:09 maestroanth

i was facing the same issue and when I switch to "angular-4-data-table-bootstrap-4-demo" , it got resolve .

rajurathi1112 avatar Oct 23 '17 01:10 rajurathi1112

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.

chrismclarke avatar Oct 31 '17 19:10 chrismclarke

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

San13 avatar Feb 21 '18 03:02 San13

angular-4-data-table updated with this fix in version 0.4.4

MIt9 avatar Feb 21 '18 06:02 MIt9