【发布时间】:2014-12-01 06:48:27
【问题描述】:
我需要在数据表的页面更改事件中从服务器加载数据。我是using angular-datatables.min.js。但是can not seem to latch on to the page.dt event of the datables through angular scope。请帮我解决这个问题。
【问题讨论】:
-
没有错误。我只是不知道如何使用角度范围调用事件。相当于:$('#example').dataTable().on('page', function( e, o) { // 对表格进行分页时做一些事情 } );
标签: angularjs pagination datatables