DataTable - 禁用分页 [英] DataTable - Disabled pagination
本文介绍了DataTable - 禁用分页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要执行以下操作:
$("#example").on( 'page.dt', function ()
{
if ($("#txtField6").length){
alert("You must finish operation new/edit. The pagination is not posible");
//when i press the buttons navigation, if this condition is met, I must stay on the same page, what can i do it?
}
});
推荐答案
解决方案:
tbLoc.page(page.info());
这篇关于DataTable - 禁用分页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文