You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Christoph Jäger <ch...@polleninfo.org> on 2009/03/19 13:36:24 UTC
[T5] Override grid header
Hi,
I have a grid, where one columns contains checkboxes. Now I want to
put a "mark all" checkbox in the header of the column (instead of the
title with the sort link). This should work somehow like overriding a
grid cell (which I already did for generating the checkbox in each
row), but I couldn't find how. Is there an easy way to do this?
Thanks,
Best Regards,
Christoph
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: [T5] Override grid header
Posted by Christoph Jäger <ch...@polleninfo.org>.
That was easy! Should have found this by myself!
Thanks a lot,
Christoph
On Mar 19, 2009, at 13:41 , Thiago H. de Paula Figueiredo wrote:
> On Thu, Mar 19, 2009 at 9:36 AM, Christoph Jäger
> <ch...@polleninfo.org> wrote:
>> Hi,
>
> Hi!
>
>> I have a grid, where one columns contains checkboxes. Now I want to
>> put a
>> "mark all" checkbox in the header of the column (instead of the
>> title with
>> the sort link). This should work somehow like overriding a grid
>> cell (which
>> I already did for generating the checkbox in each row), but I
>> couldn't find
>> how. Is there an easy way to do this?
>
> Supposing your grid property (column) is named checkbox:
>
> <t:parameter name="checkboxHeader">...</t:parameter>
>
> --
> Thiago
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: [T5] Override grid header
Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
On Thu, Mar 19, 2009 at 9:36 AM, Christoph Jäger
<ch...@polleninfo.org> wrote:
> Hi,
Hi!
> I have a grid, where one columns contains checkboxes. Now I want to put a
> "mark all" checkbox in the header of the column (instead of the title with
> the sort link). This should work somehow like overriding a grid cell (which
> I already did for generating the checkbox in each row), but I couldn't find
> how. Is there an easy way to do this?
Supposing your grid property (column) is named checkbox:
<t:parameter name="checkboxHeader">...</t:parameter>
--
Thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org