You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Barry Books <tr...@gmail.com> on 2013/06/06 15:27:13 UTC
Re: Multi-row Grid header
The grid is made from various sub components. Instead of using Grid you can
write you own HeaderGrid and use the sub components such as GridPager and
GridRow.
On Thu, Jun 6, 2013 at 7:21 AM, <la...@email.cz> wrote:
> Hi!
>
>
>
> I would like to have Grid with more than one row header. Let's say I have 3
> columns: Free space, occupied space, total space. Values in such columns
> are
> simple numbers with 2 digits (0-99), so if I want to show column headers in
> full form, columns will be lot wider than it's values demands. Therefore I
> would like to configure two-level header:
> "Space" in first line (cellspan=3), "Free | Occupied | Total" in second
> line. Is this possible anyhow with Tapestry's Grid component?
>
>
>
>
> Best regards, Ladislav
>
Re: Multi-row Grid header
Posted by la...@email.cz.
Thanks both of you! I will try the DOM rewriting, I guess it will be easier
and fulfill my demand completely.
Best regards!
--
Ladislav
---------- Původní zpráva ----------
Od: Thiago H de Paula Figueiredo <th...@gmail.com>
Datum: 6. 6. 2013
Předmět: Re: Multi-row Grid header
"On Thu, 06 Jun 2013 10:27:13 -0300, Barry Books <tr...@gmail.com> wrote:
> The grid is made from various sub components. Instead of using Grid you
> can write you own HeaderGrid and use the sub components such as
> GridPager and
> GridRow.
Another option is to use Tapestry DOM rewriting (such as void
afterRender(MarkupWriter writer) { ... }) in your page or component class.
--
Thiago H. de Paula Figueiredo
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org"
Re: Multi-row Grid header
Posted by Thiago H de Paula Figueiredo <th...@gmail.com>.
On Thu, 06 Jun 2013 10:27:13 -0300, Barry Books <tr...@gmail.com> wrote:
> The grid is made from various sub components. Instead of using Grid you
> can write you own HeaderGrid and use the sub components such as
> GridPager and
> GridRow.
Another option is to use Tapestry DOM rewriting (such as void
afterRender(MarkupWriter writer) { ... }) in your page or component class.
--
Thiago H. de Paula Figueiredo
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org