Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Sorting 2 column from a table, which have 10 columns

Hi,

I used TableSorter.java, know my table has the option of sorting all the columns. but i want to keep sorting for only 2 columns.

ex:

empid, ename, address, pan number, number of childs, xxx, yyyy, zzz, tttt, --> columns

out of above columns i want sorting only for empid & xxx. ( i don't want to have ename, yyyy,addreess,pan .. columns the sorting option).

Thanks,

Husssain

Former Member
Former Member replied

Hey Hussain ,,

Pass the column id names as the sortablecoloums..

eg

<b>column ID</b>

namr = FName

emailid = email_ID

pass new string {"FName" ,"emailID"}

Swathi

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question