excel button throws error, rest of the buttons are working fine.
excel button throws error, rest of the buttons are working fine.

buttons.html5.min.js:28 Uncaught TypeError: k[l].trim is not a function
at q (buttons.html5.min.js:28)
at D.action (buttons.html5.min.js:30)
at g (dataTables.buttons.min.js:14)
at HTMLButtonElement.<anonymous> (dataTables.buttons.min.js:15)
at HTMLButtonElement.dispatch (jquery-3.5.1.js:5429)
at HTMLButtonElement.elemData.handle (jquery-3.5.1.js:5233)
this is what i get when i click on excel button
This discussion has been closed.
Answers
You're probably using an old package. See thread here - the fix would be to use the latest packages.
Colin