I'm still not sure about what you mean by sorting. Is it sorting of columns or of rows? Anyway, you'll need to implement PropertyConduit for what your Atributo and use it when adding properties to the BeanModel (method add(String propertyName, PropertyConduit conduit). Without the Material, Atributo and ValorAtributo class sources plus your page or component class so far, I can't help further.

On Fri, 10 Aug 2012 17:14:24 -0300, William Lopes <williamlopes....@gmail.com> wrote:

I didn't want say that "implement a Grid", sorry.

I need of an example functional, the data comes from a list of
ValorAtributo (a type of data) of the class Material, this last, is the
source of the grid.

Basically, I have 3 classes, Material (makes the link of the Atributo and
ValorAtributo), Atributo (type of data dynamic), ValorAtributo (value of
the type data previous), the my grid is formed by list of Material, where
have a list of ValorAtributo. And with this list of ValorAtributo, is
possible check if you wanna that appear in the grid. So, I need implement
manually a way of sort for it.

I still very newbie with tapestry, cause this I would like of example more
explicit.

Can you undestand me?

2012/8/9 Thiago H de Paula Figueiredo <thiag...@gmail.com>

On Thu, 09 Aug 2012 19:59:45 -0300, William Lopes <
williamlopes....@gmail.com> wrote:

Yes, I want do sort by myself, could you give a example of GridDataSource
implementing a Grid?


You don't implement a Grid: it's a component. You can implement
GridDataSource, which is an interface.
How to implement it depends on where the data comes from: a collection
created in memory? Data from a database? All you need to know is in the
JavaDoc of the interface anyway. :) Any doubts, just ask. ;)


--
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




--
Thiago H. de Paula Figueiredo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to