How do I refresh my DataTable after changes to my Array?
How do I refresh my DataTable after changes to my Array?

I am using DataTables with Handlebars.
I want to "reload" my table based on conditions that are not part of my table data, so I cannot use the normal search or filter, right? When certain conditions or an event occurs I am deleting some elements in my array. I would then like my DataTable to display those changes and then use the same (but updated) array.
This discussion has been closed.
Answers
Use
clear()
to clear the table followed byrows.add()
to add the updated array to the table.Kevin