Getting error that 'dtOptions' isn't a known property of 'table'

Getting error that 'dtOptions' isn't a known property of 'table'

PoojaDPoojaD Posts: 2Questions: 1Answers: 0

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

  • allanallan Posts: 63,677Questions: 1Answers: 10,497 Site admin

    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 a dtTrigger option or interface, so they much be coming from Angular DataTables.

    Allan

  • PoojaDPoojaD Posts: 2Questions: 1Answers: 0

    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

  • allanallan Posts: 63,677Questions: 1Answers: 10,497 Site admin

    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

Sign In or Register to comment.