Exclude a column from being sorted using jQuery tablesorter

后端 未结 8 1763
有刺的猬
有刺的猬 2021-02-01 21:30

I am looking for a way to exclude a single column from being sorted using jQuery\'s tablesorter plugin. Specifically, I have a fairly large table and would like to keep a \"row

8条回答
  •  北海茫月
    2021-02-01 21:45

    $("table").tablesorter({
        headers: {4: {sorter: false},8: {sorter: false}}
    });
    

提交回复
热议问题