我刚刚开始使用 jquery。我使用 jquery 数据表插件来启用 TableView 。我需要禁用显示条目属性。谁能帮我在哪个js中禁用该属性?
我已点击此链接,但没有帮助。不知道要修改哪个js。 here
提前致谢
最佳答案
这对我有用。使用您构建的 html 中的代码
$(document).ready(function () {
var oTable = $('#example').dataTable({
"aaData": orgContent,
"bLengthChange": false //used to hide the property
});
根据最新文档,上述代码中的bLengthChange应为lengthChange。
关于jquery - 如何禁用 jquery 数据表中的显示条目属性,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20785926/