You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Angelo Chen <an...@yahoo.com.hk> on 2007/11/15 11:27:06 UTC
T5: grid's column's width
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: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5: grid's column's width
Posted by jeffrey ai <jf...@gmail.com>.
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 13778493.post@talk.nabble.com, "jeffrey
> ai"
> <jf...@gmail.com> 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: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
>
--
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: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5: grid's column's width
Posted by Kevin Menard <km...@servprise.com>.
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 13778493.post@talk.nabble.com, "jeffrey ai"
<jf...@gmail.com> 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: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5: grid's column's width
Posted by jeffrey ai <jf...@gmail.com>.
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: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5: grid's column's width
Posted by jeffrey ai <jf...@gmail.com>.
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: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org