Reset Table Without Re-Downloading JSON?
Reset Table Without Re-Downloading JSON?
guillochon
Posts: 56Questions: 19Answers: 0
Is it possible to reload a table using the same JSON input, without needing to re-download the file from the server? Essentially almost like reload()
except without the downloading part.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
You can use the Table
clear()
api to clear the table then reload the table.Kevin
Use
ajax.json()
to get the current JSON. Then as Kevin suggests, useclear()
androws.add()
.Allan