小编Mar*_*rta的帖子

数据表在标题上显示双顺序图标

我正在使用带有引导程序的数据表使用此说明创建一个简单的表

var bTable = $('#example2').DataTable( {
        language: {  url: 'assets/plugins/datatables/i18n/Spanish.json'     },
        processing: true,
        fixedHeader: true,
        serverSide: true,
        responsive:true,
        ajax: "modulos/estados.data.php",
        columns: [
            { data: "id561" },
            { data: "des561" },
            { data: "accion561" },
            { data: "res561" }
        ],
        order: [[ 1, "asc" ]],
        columnDefs: [
            {
                targets : 0,
                searchable: false,
                render: function ( data, type, row ) 
                { return row.id561 }
            },
            {
                targets : 1,
                searchable: true,
                render: function ( data, type, row ) 
                { return data …
Run Code Online (Sandbox Code Playgroud)

twitter-bootstrap-3 datatables-1.10

2
推荐指数
1
解决办法
2492
查看次数