You have to set the sortProperty in the column constructor.
You have to double click it to sort by it. The arrow is only visible for
that column where the sorting is actually in effect.

Check out the examples:
live: http://wicketstuff.org/grid-examples/data-grid/simple
source:
https://github.com/wicketstuff/core/tree/master/jdk-1.5-parent/inmethod-grid-parent/inmethod-grid-examples/src/main/java/com/inmethod/grid/examples/pages/datagrid

Attila

2011/11/1 Chris Colman <chr...@stepaheadsoftware.com>

> ** **
>
> Does anyone know how to make a column sortable in an inmethod datagrid.***
> *
>
> ** **
>
> I saw a method called ‘setReorderable’ but calling that will true doesn’tseem 
> to produce the up/down arrow in the column header that I would expect.
> ****
>
> ** **
>
> Any suggestions?****
>
> ** **
>
> Yours sincerely,****
>
> ** **
>
> Chris Colman****
>
>  ****
>
> Pagebloom Team Leader,****
>
> Step Ahead Software
>
> ****
>
> pagebloom - your business & your website growing together****
>
> ** **
>
> **Sydney**: (+61 2) 9656 1278     ****Canberra****: (+61 2) 6100 2120
> ****
>
> Email: chr...@stepahead.com.au <//chr...@stepahead.com.au>****
>
> Website:****
>
> http://www.pagebloom.com****
>
> http://develop.stepaheadsoftware.com****
>
>  ****
>
> ** **
>

Reply via email to