Can i somehow populate dataTable with new static array values and reload it?
Can i somehow populate dataTable with new static array values and reload it?

Can i somehow populate dataTable with new static array values and reload it? Something like ajax.reload() but with static array, not ajax.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Sure - use
clear()
to delete all existing rows, and thenrows.add()
to add the new ones.Allan
Thanks.