T5: grid's column's width

2007-11-15 Thread Angelo Chen

Hi,

Is there a way to set the grid's column's width to a fixed size? without
that, the grid changes its width from page to page. Thanks.

A.C.
-- 
View this message in context: 
http://www.nabble.com/T5%3A-grid%27s-column%27s-width-tf4811010.html#a13765107
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5: grid's column's width

2007-11-15 Thread jeffrey ai

I am looking for the answer of the same question too.
The template of the Grid component doesn't embed a colGroup element.

- Quated from Grid.tml
table class=t-data-grid
thead t:id=columns/
tbody
tr t:id=rows/
/tbody
/table
- 

It seems to me that the only way to add column width is to write your own
component.
Is there anybody could provide some hints?

Jeffrey Ai


Angelo Chen wrote:
 
 Hi,
 
 Is there a way to set the grid's column's width to a fixed size? without
 that, the grid changes its width from page to page. Thanks.
 
 A.C.
 

-- 
View this message in context: 
http://www.nabble.com/T5%3A-grid%27s-column%27s-width-tf4811010.html#a13778439
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5: grid's column's width

2007-11-15 Thread jeffrey ai

I do noticed that the Grid component is not defined as final like some
other components.
I guess we could just inherit it and add a new template to extend its
feature.

Jeffrey Ai


jeffrey ai wrote:
 
 I am looking for the answer of the same question too.
 The template of the Grid component doesn't embed a colGroup element.
 
 - Quated from Grid.tml
   table class=t-data-grid
   thead t:id=columns/
   tbody
   tr t:id=rows/
   /tbody
   /table
 - 
 
 It seems to me that the only way to add column width is to write your own
 component.
 Is there anybody could provide some hints?
 
 Jeffrey Ai
 
 
 Angelo Chen wrote:
 
 Hi,
 
 Is there a way to set the grid's column's width to a fixed size? without
 that, the grid changes its width from page to page. Thanks.
 
 A.C.
 
 
 

-- 
View this message in context: 
http://www.nabble.com/T5%3A-grid%27s-column%27s-width-tf4811010.html#a13778493
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5: grid's column's width

2007-11-15 Thread Kevin Menard
Couldn't you just provide your own stylesheet?  The header and cell class
names are predictable.

-- 
Kevin


On 11/15/07 1:26 PM, in article [EMAIL PROTECTED], jeffrey ai
[EMAIL PROTECTED] wrote:

 
 I do noticed that the Grid component is not defined as final like some
 other components.
 I guess we could just inherit it and add a new template to extend its
 feature.
 
 Jeffrey Ai
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5: grid's column's width

2007-11-15 Thread jeffrey ai

That's right. Thanks for you suggestion!

Cheers,
Jeffrey Ai



nirvdrum wrote:
 
 Couldn't you just provide your own stylesheet?  The header and cell class
 names are predictable.
 
 -- 
 Kevin
 
 
 On 11/15/07 1:26 PM, in article [EMAIL PROTECTED], jeffrey
 ai
 [EMAIL PROTECTED] wrote:
 
 
 I do noticed that the Grid component is not defined as final like some
 other components.
 I guess we could just inherit it and add a new template to extend its
 feature.
 
 Jeffrey Ai
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/T5%3A-grid%27s-column%27s-width-tf4811010.html#a13783819
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]