【问题标题】:how to display the data in a data table from ajax call in bootstrap如何在引导程序中通过ajax调用显示数据表中的数据
【发布时间】:2015-06-15 18:22:37
【问题描述】:

我有一个引导程序 3.2.0 主题。我想使用数据表显示 mysql 的数据

这是我在 jquery 中尝试过的

    <script>
    $(document).ready(function() {
        $('#customerApplication').dataTable( {
            jQuery.ajax: ({ url: "<?php echo base_url("customer/index"); ?>"                 });
        } );
    } );    

</script>

但它显示的表格没有分页和其他选项

如何修改它以正确格式显示表格

【问题讨论】:

    标签: jquery mysql ajax twitter-bootstrap


    【解决方案1】:

    https://www.datatables.net/manual/options

    查看以上链接了解您的所有问题

    【讨论】:

      猜你喜欢
      • 2015-12-22
      • 1970-01-01
      • 1970-01-01
      • 2023-03-16
      • 1970-01-01
      • 2018-01-23
      • 1970-01-01
      • 1970-01-01
      • 2015-12-08
      相关资源
      最近更新 更多