Sorting blank column in jTable
843785Jul 17 2008 — edited Jan 11 2009Hi all,
I am having problem sorting blank columns.
I have already read thru [http://java.sun.com/docs/books/tutorial/uiswing/components/table.html#sorting]
Using setAutoCreateRowSorter works except when sorting blank column as i want all blank column to be sorted to the bottom be it ascending or descending order.
I am using Comparator to do the sorting but how do I know when it is doing ascending or descending?
Edited by: zwseo on Jul 17, 2008 7:25 PM