Moojid Hamid wrote:
I need to hardcode the column number
Could you please elaborate what do you mean by that? You might want to look at the setSortKeys and setComparator methods of the TableRowSorter.
The sorting i required is for one column ,all other columns should have its default sorting behaviour.
Currently sorting is float values but not on there units so i want sort one column based on float and units as wel.As its for one column only i need to specifically
if (this column then )
use below sorting techinque.
And also i am not very clear about how to sort it based on folat and units values