Hi,
I've implemented a CellTable with three distinct columns of type
CheckboxCell checkBoxCell = new CheckboxCell(true, false);
Column<Anagrafica, Boolean> checkColumn = new Column<Anagrafica,
Boolean>(checkBoxCell) {
@Override
public Boolean getValue(Anagrafica object) {
...
each of the column has a own instance of a MultiSelectionModel and a
FieldUpdater:
FieldUpdater<Anagrafica, Boolean> fieldUpdater = new
FieldUpdater<Anagrafica, Boolean>() {
@Override
public void update(int index, Anagrafica
articolo, Boolean value)
{
// Called when the user clicks on a
checkbox.
selectionModel.setSelected(articolo,
value);
if(value){
//here select all the ckeck box
}
}
};
checkColumn.setFieldUpdater(fieldUpdater);
I can't find a way to fire the selection of all of the CheckBoxCell as
a consequence of the selection of the of them.
What do I need to do? Any hint?
--
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.