click-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilberto <gilbert...@gmail.com>
Subject Re: Table with checkbox in the head
Date Fri, 06 Jan 2012 18:32:37 GMT
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 <dennis@globalhis.com> 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
>
>

Mime
View raw message