Datatables - is that possible to reload/redraw tab

2019-07-15 01:56发布

问题:

I would like to know is that possible to reload table data without destroy filters or reset ordering.

回答1:

You can use table.draw("full-hold") or table.draw(false), it will redraw the table without resetting search, ordering and paging

Check the documentation of draw : https://datatables.net/reference/api/draw()