【问题标题】:selectBoxIt with Datatable pagination not working带有数据表分页的 selectBoxIt 不起作用
【发布时间】:2015-05-05 11:02:31
【问题描述】:

我使用selectBoxIt 选择框来设计一个下拉框,并使用数据表来列出数据。

所以,在数据表列表中分页时它不起作用。我为选择框做的代码是

 var selectBox = $(".filter_group").selectBoxIt({ theme: "jqueryui", native: true });

但它不适用于分页?

【问题讨论】:

    标签: jquery datatables selectboxit


    【解决方案1】:

    请尝试以下代码。

    fnDrawCallback : function() {
      var selectBox = $(".filter_group").selectBoxIt({ theme: "jqueryui", native: true });
    }        
    

    【讨论】:

      猜你喜欢
      • 2018-03-28
      • 2016-01-11
      • 1970-01-01
      • 2017-10-27
      • 2012-12-05
      • 2015-11-02
      • 1970-01-01
      相关资源
      最近更新 更多