【发布时间】:2019-06-10 21:00:03
【问题描述】:
我按照这个库https://l-lin.github.io/angular-datatables/archives/#!/serverSideProcessing 来创建一个服务器端处理数据表。它工作得很好,但我可以知道如何获取当前页面吗?
var vm = this;
vm.dtOptions = DTOptionsBuilder.newOptions()
.withOption('ajax', {
// Either you specify the AjaxDataProp here
url: 'api/bank_recon/fetch_trx',
type: 'POST',
})
.withDataProp('data')
.withOption('processing', true)
.withOption('serverSide', true)
.withPaginationType('full')
【问题讨论】:
-
已编辑问题:获取当前页面
-
在这里查看解决方案 :: stackoverflow.com/questions/39161117/…
标签: javascript angularjs