table.destroy() method will not work in mobile browsers - '... is not a function'

table.destroy() method will not work in mobile browsers - '... is not a function'

nickwcooknickwcook Posts: 1Questions: 1Answers: 0

I've been using the destroy() method for a while to remove a datatable from the DOM in a web application, which works perfectly fine when using all desktop browsers, but when debugging script in mobile browsers (Chrome DevTools iOS Remote Inspector), it catches on the table.destroy() method, returning 'transactionsTable.destroy() is not a function'.

Has this been noticed before on mobile, and is there a workaround or different approach that can be used to the same effect?

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Hi @nickwcook ,

    No, that's not been seen before - it might be related to the variable transactionsTable, how is that being instantiated?

    We're happy to take a look if you could link to a running test case showing the issue. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

This discussion has been closed.