CheckList is similar. I still need it to be table. Thanks anyway, Dennis
-----Original Message----- From: Gilberto [mailto:[email protected]] Sent: Friday, January 06, 2012 1:33 PM To: [email protected] Subject: Re: Table with checkbox in the head Have you seen the CheckListDemo[1]. It looks like the CheckList[2] control is what you need or you could implement something similar to table control. Regards, Gilberto [1] http://click.avoka.com/click-examples/control/check-list-demo.htm [2] http://click.apache.org/docs/extras-api/org/apache/click/extras/control/CheckList.html On Thu, Jan 5, 2012 at 11:46 AM, Dennis Lee <[email protected]> wrote: > Hello, > > I’d like to have table like this. ^ is a checkbox. > > ^ ID First Name Last Name > > --------------------------------- > > ^ 1 John Doe > > ^ 2 Bob Smith > > 1. How can I add the checkbox in the head. > > 2. The checkbox in the body. How can add userId as value? > > 3. The checkbox and second column is also userId - same checkbox value. Is > it possible to add same field value? > > 4. I’d like to use header checkbox to select or deselect all. I can use > jquey to do this but is there better way? > > Thanks, > > Dennis > >
