wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Attila Király <kiralyattila...@gmail.com>
Subject Re: Making a column 'Sortable' in inmethod datagrids
Date Tue, 01 Nov 2011 09:32:45 GMT
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 <chrisc@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: chrisc@stepahead.com.au <//chrisc@stepahead.com.au>****
>
> Website:****
>
> http://www.pagebloom.com****
>
> http://develop.stepaheadsoftware.com****
>
>  ****
>
> ** **
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message