从jquery数据表中删除第一个和最后一个分页 [英] Remove first, and last pagination from the jquery data table

查看:83
本文介绍了从jquery数据表中删除第一个和最后一个分页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我当前正在使用 jQuery数据表.我还使用jquery ui提供了很好的主题.但是,我想通过对jquery库使用位自定义来禁用(隐藏)表中的分页的firstlast按钮.

I'm currently using jQuery Datatable. I also use jquery ui to provide good theme. However, I want to disable (hide) the first and last button of the pagination from the table by using a bit customization on jquery library.

问题在于自定义只有两种方法:full_numberstwo_button.

The problem is that the customization has only 2 methods: full_numbers and two_button.

那么在没有first和最后一个button的情况下如何获得分页?

So how can I get the pagination without the first and last button?

任何帮助将不胜感激.

谢谢

推荐答案

编写您自己的JavaScript来隐藏/删除元素.

Write your own javascript to hide/remove the elements.

$(".first.paginate_button, .last.paginate_button").hide();

这篇关于从jquery数据表中删除第一个和最后一个分页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆