Break out of rows().every() loop
Break out of rows().every() loop
rf1234
Posts: 2,990Questions: 87Answers: 421
Is there a way to break out of a rows().every() loop?
https://datatables.net/reference/api/rows().every()
I tried a few things but nothing worked. And I also found this in the description:
No return value is expected or acted upon.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
No, it's similar to the JS
forEach()
, so no way to break I'm afraid.Colin
You can try the not so pretty technique described in the SO thread.
Kevin
It's not so pretty, but works
Many thanks, Kevin!