如何在Jquery DataTable中删除导出选项 [英] How do I remove export option in Jquery DataTable

查看:63
本文介绍了如何在Jquery DataTable中删除导出选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我使用jquery DataTable来显示网格数据。但默认情况下会显示导出选项。但我需要删除这些选项。请帮我解决这个问题。

Hi All,

I am using jquery DataTable to show grid data. But by default export option is showing. But i need to remove these option. Please help me out on this.

推荐答案

默认情况下,DataTable不提供导出功能,因此您必须使用TableTools插件。因此,如果您不希望导出功能也出现,只需使用您想要显示的按钮初始化插件。



https://www.datatables.net/extensions/tabletools/buttons [ ^ ]
By default DataTable does not offer the export feature, so you must be using the TableTools plugin. So if you do not want the export feature too appear just initialize the plugin with the buttons you want displayed.

https://www.datatables.net/extensions/tabletools/buttons[^]


这篇关于如何在Jquery DataTable中删除导出选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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