namespace DataTables conflicts

namespace DataTables conflicts

Jason LJason L Posts: 1Questions: 1Answers: 0
edited October 2022 in Free community support

In the buttons function:
init: (dt: DataTables.Api, _node: JQuery, _config: any)

The DataTables.Api seems pointing to the DataTables in "datatables.net", rather than the same namespace in the "datatables.net-buttons".

Because when trying to call
dt.buttons or dt.button, both failed with:
" Property 'button'/'buttons' does not exist on type 'Api'"

Answers

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin

    Hi,

    Thanks for this. Funnily enough this is exactly the area I'm planning on working on today. I think there are a few errors in this area that I will hopefully resolve. Will post back here when done.

    Allan

Sign In or Register to comment.