2013-07-22 35 views
3

我需要兩個分頁的數據表,即一個jQuery插件,一個在表頂部和一個在底部。我在做什麼如下:Datatable上的多個分頁 - jQuery插件

// get the pagination generated by the plugin 
var clonedPag = $("#pagination_bottom").clone(); 

// add this pagination to the top of table 
$("#datatable_wrapper").prepend() 

問題是,這個新添加的分頁將無法正常工作。

任何人都可以請告訴我,我做錯了什麼或如何得到這個工作?

+0

下面是文檔:http://datatables.net/forums/discussion/1109/duplicating-pagination-bottom-top-of-the-表/ p1 –

回答