For a paginated table, the data is taken out from the database, how to sort by clicking on the header
For a paginated table, the data is taken out from the database, how to sort by clicking on the header
orderby should be a sorting parameter,
click on the header to sort, you can use some table plug-ins, or ajax to get the data and display it again
Since it’s on the url, it must be a parameter.
<code>orderby 根据xx排序 </code>
As for the use, it can be:
<code>1.传递至后端,查询数据库使用 2.前端插件做数据处理使用</code>
Pass parameters to sort the result set