【发布时间】:2016-08-26 18:39:31
【问题描述】:
我对一个 API 进行了 GET,然后我得到了 1000 个帐户。
我的样本数据:https://jsonblob.com/57c08bb2e4b0dc55a4f0eec7
由于Datatable website 建议,这里是我的设置
var account_table = $('#account-table').DataTable({
"processing": true,
"serverSide": true,
"ajax": "scripts/server_processing.php",
"deferLoading": 10,
});
对于“ajax”:“scripts/server_processing.php”,由于我使用的是API,我可以这样做吗
"ajax": "https://jsonblob.com/57c08bb2e4b0dc55a4f0eec7" ????
它会起作用吗?我希望有人能对此有所了解。
【问题讨论】: