HTML table sort

前端 未结 5 1280
谎友^
谎友^ 2020-12-08 00:50

So basically I am running a mysql query that fetches data from my database and displays it in an easy to read layout for my users.

Name-----Address----Sales          


        
5条回答
  •  再見小時候
    2020-12-08 01:36

    Here is another library.

    Changes required are -

    1. Add sorttable js

    2. Add class name sortable to table.

    Click the table headers to sort the table accordingly:

    
    
    
    Name Address Sales Person
    user:0001 UK Melissa
    user:0002 France Justin
    user:0003 San Francisco Judy
    user:0004 Canada Skipper
    user:0005 Christchurch Alex

提交回复
热议问题