datatables.api().ajax.reload();接口调用了也返回了数据,但是表格就是不刷新
你想刷新表格,你要用js代码给表格赋值啊
你的数据都在后台,表格为什么要刷新
Parameters:
Name | Type | Optional | |
---|---|---|---|
1 | callback | Yes - default:null | |
Function which is executed when the data has been reloaded and the table fully redrawn. The function is given a single parameter - the JSON data returned by the server, and expects no return. | |||
2 | resetPaging | Yes - default:true | |
Reset (default action or |
Returns:
DataTables.Api instance