I want to build a CheckBox List like...

|=======|
| x label0  |
| x label1  |
| x label2  |
|=======|

...using CellList and I've done the following:

      {
            final List<Boolean> checks = Arrays.asList(true, false, true,
true, false);

            final CheckboxCell checkboxCell = new CheckboxCell();
            final CellList<Boolean> checkBoxCellList = new
CellList<Boolean>(checkboxCell);
            checkBoxCellList.setRowData(checks);
        }

...so I get:

|=======|
| x           |
| x           |
| x           |
|=======|

But how can I supply not only the value of a CheckBox (Boolean) but also its
label like it's possible with

CheckBox#setText("label0")
CheckBox#setValue(true)

?

-Alex

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to