Hi Pavel. Can you explain more detail, please.
Thank you so much. 2012/8/9 Pavel Vodenski <pa...@beckon.com> > I recently had to do just this and ended up copying > CollectionGridDataSource and changing some of the #prepare(int, int, > List<SortConstraint>) method. If you'd prefer to avoid copying, you can > write a wrapper that implements GridDataSource, delegates to an existing > CollectionGridDataSource for all operations, then does additional sorting > itself in #prepare. > > - P > > On Thu, Aug 9, 2012 at 3:59 PM, William Lopes <williamlopes....@gmail.com > >wrote: > > > Thanks for answer. > > > > Yes, I want do sort by myself, could you give a example of GridDataSource > > implementing a Grid? > > > > 2012/8/9 Thiago H de Paula Figueiredo <thiag...@gmail.com> > > > > > On Thu, 09 Aug 2012 19:06:48 -0300, William Lopes < > > > williamlopes....@gmail.com> wrote: > > > > > > Hi guys. > > >> > > > > > > Hi! > > > > > > > > > So, I'm in a project where we are doing everything dynamic, forms, > grid, > > >> crud, etc (and it is giving very work). > > >> > > > > > > It's basically a matter of understanding how adding edition and viewing > > > blocks work, writing these blocks and writing DataTypeAnalyzers. > > > > > > > > > In this moment I would like that > > >> you help me with the ordination of some fields in the grid. > > >> As my grid is totally dynamic, the fields haven't implemented the > > >> respective sort of each. How I can do it? > > >> > > > > > > Could you be a little more specific? If you're talking about the > columns > > > not being rendered with sorting links, your BeanModel's PropertyModel's > > > should return values which implement Comparable. If you're talking > about > > > doing the sort yourself, you can always provide a GridDataSource to > > Grid's > > > source parameter. > > > > > > -- > > > Thiago H. de Paula Figueiredo > > > > > > > ------------------------------**------------------------------**--------- > > > To unsubscribe, e-mail: users-unsubscribe@tapestry.**apache.org< > > users-unsubscr...@tapestry.apache.org> > > > For additional commands, e-mail: users-h...@tapestry.apache.org > > > > > > > > >