码迷,mamicode.com
首页 > 编程语言 > 详细

dataTable 自定义排序

时间:2017-02-28 19:12:10      阅读:314      评论:0      收藏:0      [点我收藏+]

标签:targe   logs   color   gets   tar   哪些   排序   get   nbsp   

 

 

$("#id").DataTable({
    aaSorting: [0, ‘desc‘], // 默认排序
    aoColumnDefs: [
        {?
            "bSortable": false,
            "aTargets": [1,2,3]  // 哪些列不排序
        }?
    ],
});

 

dataTable 自定义排序

标签:targe   logs   color   gets   tar   哪些   排序   get   nbsp   

原文地址:http://www.cnblogs.com/cloudshadow/p/datatable_custom_sort.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!