- Is The Up Arrow ascending or descending?
- How to sort data in table in JSP?
- How to sort a table using JavaScript?
Is The Up Arrow ascending or descending?
An arrow pointing up means that column is sorted in ascending order. An arrow pointing down means that column is sorted in descending order. To change the sort order, simply click on the column header.
How to sort data in table in JSP?
Populate the data into an XML structure, then transform that XML structure with XSLT and inside the JSP make use of JSTL XML tags to call the transformation. You can pass the sort-by field as an input parameter to the XSLT via JSTL XML tags used to transform the XML into HTML table.
How to sort a table using JavaScript?
add a click event to all header ( th ) cells... for the current table , find all rows (except the first)... sort the rows, based on the value of the clicked column... insert the rows back into the table, in the new order.