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:[email protected]] > Sent: Thursday, October 06, 2011 8:52 PM > To: [email protected] > 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: [email protected] > > For additional commands, e-mail: [email protected] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
