Disable automatic sorting on the first column when using jQuery DataTables

前端 未结 7 2151
遥遥无期
遥遥无期 2021-01-30 06:16

I\'m using jQuery DataTables and I would like to know if there\'s possible to disable automatic sorting on the first column of the table?

My code looks like this:

<
7条回答
  •  既然无缘
    2021-01-30 06:45

    If any of other solution doesn't fix it, try to override the styles to hide the sort togglers:

    .sorting_asc:after, .sorting_desc:after {
      content: "";
    }
    

提交回复
热议问题