Getting error that 'dtOptions' isn't a known property of 'table'
Getting error that 'dtOptions' isn't a known property of 'table'
![PoojaD](https://secure.gravatar.com/avatar/cd30b5300010f841efffb5cab92c918f/?default=https%3A%2F%2Fvanillicon.com%2Fcd30b5300010f841efffb5cab92c918f_200.png&rating=g&size=120)
Hello,
I'm using Datatables in my angular project (Angular V14.2.0) and I'm getting error that 'dtOptions' and 'dtTrigger' are not know property of table. Please help me.
****error NG8002: Can't bind to 'dtTrigger' since it isn't a known property of 'table'.****
Here are the details:
"@angular/common": "^14.2.0",
"@angular/compiler": "^14.2.0",
"@angular/core": "^14.2.0"
"angular-datatables": "^16.0.0",
"bootstrap": "^5.3.2",
"bs-stepper": "^1.7.0",
"datatables.net": "^1.13.6",
"datatables.net-bs4": "^1.13.6",
"datatables.net-buttons": "^2.4.2",
"datatables.net-buttons-dt": "^2.4.2",
"datatables.net-dt": "^1.13.6",
"datatables.net-responsive": "^2.5.0",
"datatables.net-responsive-dt": "^2.5.0"
Answers
I'm guessing you are using Angular DataTables? That isn't published or supported by ourselves. You'd need to get in touch with the author of Angular DataTables.
DataTables core doesn't have either a
dtOptions
nor adtTrigger
option or interface, so they much be coming from Angular DataTables.Allan
Hi Allan,
I have followed step's mentioned in the link "https://l-lin.github.io/angular-datatables/#/getting-started" to install angular datatables along with datatables.net. So, please check and let me know if you could help me with this. Thanks
That library is neither published nor supported by us. You'd need to contact the author of that library if you are having problems with their install instructions.
Allan