On Fri, 24 Dec 2010 07:08:48 -0200, Duruk_Kab <durgesh.ka...@nuware.com> wrote:

Hi,

Hi!

I have below requirements for Tapestry grid, I am using Tapestry 5.1.0.5:
- Reduce the grid size (Say to display in half of the page) with 50 records
per page
-> I can handle showing records per page but to reduce the grid size, I could not get any example.

This isn't related to Tapestry at all. Just use CSS for that.

- I have around 50 columns to display in the grid with different widht based on the source type (Date, String, Amount etc.) - I have to manage Vertical + Horizontal synchronization for the grid, like if i move to right side of the grid both columns as well as Content should scroll.

This isn't related to Tapestry at all. Use a combination of CSS and JavaScript for that.

- I have to manage pagination.
-> This shold be managed automatically, i guess. I have got the source of Tapestry GridDataSource, based on that I can handle pagination with number of records.

You answered your own question here. :) Just implement a GridDataSource and use it as the source parameter of Grid.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

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

Reply via email to