In case you have not tried the following.

I have a ControlCB component and a mixin ControlledCheckbox which turns a 
standard Checkbox component to be a controlled checkbox. 
There is an online demo (with source code of the demo) at
http://lombok.demon.co.uk/tapestry5Demo/test/components/checkboxgroupdemo

Please go to  http://lombok.demon.co.uk/tapestry5Demo/ for source code of the 
components.


I do not know whether the above will work in a Grid. 
But it might worth a try.  Use a ControlCB component as your master checkbox 
(can't remember whether  you can have a component  in a header) and add the  
mixin into other checkboxes in the column.


 Shing  




--- On Fri, 31/7/09, sandeepraj singh <sandeepraj.si...@atosorigin.com> wrote:

> From: sandeepraj singh <sandeepraj.si...@atosorigin.com>
> Subject: Have a Master Checkbox For T5 Grid Component
> To: users@tapestry.apache.org
> Date: Friday, 31 July, 2009, 3:43 PM
> 
> Hi Guys,
> I wanted to have a master CheckBox while using the Grid
> Component. That
> CheckBox would be present at the Header Row of Grid
> Components, and allow to
> check the CheckBoxes below to be checked or
> unchecked.  
> Is there any way else to do it except for Copying the
> entire Grid Component
> Source Code to MYOWNGRID and then making changes to
> GridColoumn Component
> inside Grid Source Code that would be copied.
> 
> Any Pointers would be of great help
> 
> Thanks
> Sandy
> -- 
> View this message in context: 
> http://www.nabble.com/Have-a-Master-Checkbox-For-T5-Grid-Component-tp24752416p24752416.html
> Sent from the Tapestry - User mailing list archive at
> Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 
> 




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

Reply via email to