Thanks! provider.setSort(null); worked!
I had tried: provider.setSort(null, true); which caused a null pointer later on. > -----Original Message----- > From: Bertrand Guay-Paquet [mailto:ber...@step.polymtl.ca] > Sent: Thursday, October 06, 2011 8:52 PM > To: users@wicket.apache.org > Subject: Re: Remove Sort on SortableDataProvider > > Have you tried: > provider.setSort(null); ? > > If you don't provide a sort property to your provider, that's what it > starts with. > > On 06/10/2011 6:16 PM, Jensen, Bob wrote: > > I have a SortableDataProvider and have set a sort on it. It sorts > fine. > > Now, I would like to remove the sort so no sorting occurs. > > > > Is there a way to remove the sort? > > > > Thanks in advance > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > > For additional commands, e-mail: users-h...@wicket.apache.org > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org