JQuery/Javascript Reordering rows

前端 未结 8 1356
时光说笑
时光说笑 2021-02-06 06:50

I have a aspx page that looks something like this:


  Some label
  Some complex control
         


        
8条回答
  •  一整个雨季
    2021-02-06 07:09

    Try the jQuery tablesorter plugin.

    When the document loads you can sort the table by specifying the column index to sort on (and it allows sorting by multiple columns):

    $(document).ready(function() 
        { 
            $("#myTable").tablesorter( {sortList: [[0,0], [1,0]]} ); 
        } 
    ); 
    

提交回复
热议问题