>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.
It seems like a single click works - it's just that the response is very slow so you may have thought it required a double click. There must be a lot of records in the sample and the sorting algorithm used in the data source must not be very ifficient. > >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**** >> >> **** >> >> ** ** >> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org