Change your table to use an ISortableDataProvider and define your default
sort order.
http://ci.apache.org/projects/wicket/apidocs/6.x/org/apache/wicket/extensions/markup/html/repeater/data/table/ISortableDataProvider.html
~ Thank you,
Paul Bors
On Fri, Jun 14, 2013 at 11:42 AM, Steve Lowery
Is there an easy way to have a DataTable column sort descending the first
time it is clicked on? The code in OrderByLink does the following:
protected SortOrder nextSortOrder(final SortOrder order)
{
// init / flip order
if (order == SortOrder.NONE)
{
return SortOrder.ASCENDING;
}
else
{
return