Hi, Can't you give a predefined order like this : table.getColumnSortList().push(nameColumn);
This cause the arrow to appear. I think that arrow isn't displayed since no sort order have been selected. On 20 avr, 15:55, SVR <svr...@gmail.com> wrote: > Yes I do provide one, but what I notice is that once I click on any of the > rows, the arrows show up. But until then there is no clue that sorting has > been enabled. > > On Wed, Apr 20, 2011 at 9:36 AM, Soon Fatt Hoo <sf...@sfhoo.com> wrote: > > > > > > > > > Are you using ListDataProvider or AsyncDataProvider? Either way, you > > will have to add ListHandler or AsyncHandler to your cellTable. > > > Take a look at > >http://code.google.com/webtoolkit/doc/latest/DevGuideUiCellTable.html. > > > On Apr 19, 12:47 pm, SVR <svr...@gmail.com> wrote: > > > I am using > > > payerColumn.setSortable(true); > > > > where payerColumn is of type: > > > private class PayerNameColumn extends Column<BasicLocationData, String> > > > > the document just tells to use the api, but I dont get the up/down arrow > > to > > > do the sorting? What else needs to be done? > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google Web Toolkit" group. > > To post to this group, send email to google-web-toolkit@googlegroups.com. > > To unsubscribe from this group, send email to > > google-web-toolkit+unsubscr...@googlegroups.com. > > For more options, visit this group at > >http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.