Sets the custom comparator to be used for a particular column. Columns that don't have a custom comparator will be sorted using the natural order. @param column the column index. @param comparator the comparator to be used.
(int column, Comparator<?> comparator)
| 503 | * @param comparator the comparator to be used. |
| 504 | */ |
| 505 | public void setComparator(int column, Comparator<?> comparator){ |
| 506 | columnData.get(column).comparator = comparator; |
| 507 | } |
| 508 | |
| 509 | /** |
| 510 | * @return Returns the sortable. |
no test coverage detected