.processing(true) error
.processing(true) error
James3
Posts: 9Questions: 2Answers: 0
After upgrading to v2 last week (YES!!), I've only encountered a single issue (which is amazing!).
I sometimes call $tbl.processing(true) based on certain events. This call no longer works in v2, and I receive the following error:
Uncaught TypeError: Cannot read properties of undefined (reading '_fnProcessingDisplay')
Anything I can do to restore this functionality? From what I've read, this is part of DT.net 2 as well.
This question has an accepted answers - jump to answer
Answers
Sounds like you might have the legacy API plugin that added
.processing()
to DataTables v1? Delete that and I would expect it to work.If that doesn't help address it, can you link to a page showing the issue please?
Allan
Here are my includes. Would any of these do it?
I'll work on getting a page created to show the issue in jsfiddle.
Nope - that should work okay, as shown here: https://live.datatables.net/sikipucu/1/edit (nasty styling, as I haven't included Bootstrap 5's CSS).
Allan
Every time I feel like I've done my due-diligence before posting, you prove me wrong.
I was unable to reproduce in a fiddle. I dug deeper and found the code below, likely taken from this post years ago.
My apologies for wasting your time...again.
No worries. Good to hear you've got it working as it should be now.
Allan