Using jQuery tablesorter, I can't get it to do work for my table. Where am I going wrong?

后端 未结 3 1907
醉话见心
醉话见心 2021-01-27 13:35

Hey guys so I am trying to use the jQuery plugin table sorter (tablesorter.com). I made a test page based off their demo and it worked no problem. However now I am trying to imp

3条回答
  •  逝去的感伤
    2021-01-27 14:10

    Use Jquery datatables

    in your case:

    $(document).ready(function() 
        { 
            $("#orgTable").DataTable(); 
        } 
    );
    

    https://www.datatables.net/examples/basic_init/zero_configuration.html

    UPDATE: If you dont want to change ur tablesorter or use any other jQuery plugin for table sorting,check ur

    instead of :

提交回复
热议问题