Force search to rescan table rows when html edits are made using JS/JQuery
Force search to rescan table rows when html edits are made using JS/JQuery

If I edit the contents of a Datable row using jquery/javascript, the search functionality doesn't seem to see the new changes. If example, if my rows value had text "John Doe is in the park" and I changed it to "John Doe is in the zoo" using Jquery, the search box doesn't display the row if I searched for zoo. I tried using draw() after making the change but no luck. Thanks in advance!
This discussion has been closed.
Answers
Found the answer:
https://datatables.net/reference/api/rows().invalidate()