I have a page that displays a table with strings coming from collections in multiple columns. When i click on the header, i want the table to be sorted by that column. Can anyone please give me a sample code for the same. This is urgent.
The data table is like: table name is in postgresql : mydata
Company Name Name Email Id Address
--------------------------------------------------------------
TEST COMP Ravi
ravi@ravi.com loc1,
COMP ABC Kiran
kiran@bl.com loc2,
When i click on the Company Name, i want the table to be sorted by the Company name column.
using with
struts jsp .