jquery插件dataTable

datatables.net


调用示例:

$("#table").dataTable({
    "iDisplayLength": 25,  #每页记录条数
    "aoColumnDefs": [  #列定义
        { "bSortable": false, "aTargets": [1, 2, 3, 6] },
    ],
    "oLanguage":{  #翻译
        "sSearch": "搜索:",
        "sLengthMenu": "每页显示 _MENU_ 条记录",
        "sInfo": "从 _START_ 到 _END_ /共 _TOTAL_ 条数据",
        "sInfoFiltered": "(从 _MAX_ 条数据中检索)",
        "oPaginate": {
            "sPrevious": "前一页",
            "sNext": "后一页",
        },                        
        "sZeroRecords": "抱歉, 没有检索到数据",
        "sInfoEmpty": "没有数据",
    },
});


你可能感兴趣的:(Datatable)