dataTables - processing div hides before table is updated using fnReloadAjax

瘦欲@ 提交于 2019-12-11 05:09:11

问题


I am using DataTables with server side processing enabled. While refreshing the table data using fnReloadAjax() method, the processing div shows up, then after request completes it hides(table still shows old data) and then after about 2 seconds new data appears in the table.

So there is a period of few second where it appears that the plugin has finished loading the new data but it still shows the old data.Is there a way to hold the processing div till the new data is drawn in the table?

来源:https://stackoverflow.com/questions/14009561/datatables-processing-div-hides-before-table-is-updated-using-fnreloadajax

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!